Created
          April 19, 2012 14:40 
        
      - 
      
- 
        Save gabetax/2421375 to your computer and use it in GitHub Desktop. 
    My vimrc for use with janus
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | noremap <C-h> <C-w>h | |
| noremap <C-j> <C-w>j | |
| noremap <C-k> <C-w>k | |
| noremap <C-l> <C-w>l | |
| nnoremap <left> :3wincmd <<cr> | |
| nnoremap <right> :3wincmd ><cr> | |
| nnoremap <up> :3wincmd +<cr> | |
| nnoremap <down> :3wincmd -<cr> | |
| noremap <leader>w <C-w>c | |
| noremap <C-t> :tabnew<cr> | |
| " Buffer and Tab navigation | |
| nmap <silent> ,. :bnext<CR> | |
| nmap <silent> ,m :bprev<CR> | |
| nmap <silent> ;' :tabnext<CR> | |
| nmap <silent> ;l :tabprev<CR> | |
| noremap <leader>sv :source ~/.vimrc<cr>:source ~/.vimrc.after<cr> | |
| " Reselect visual block after indent/outdent | |
| vnoremap < <gv | |
| vnoremap > >gv | |
| " Use jk as <Esc> alternative | |
| inoremap jk <Esc> | |
| inoremap kj <Esc> | |
| " Commands without shift key | |
| nnoremap ; : | |
| noremap <space> :nohlsearch<cr> | |
| iab <expr> isoD strftime("%Y-%m-%d") | |
| " Only have cursorline in current window | |
| autocmd WinLeave * set nocursorline | |
| autocmd WinEnter * set cursorline | |
| color molokai | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment