.vimrc

branch
mhoward-lt
changeset 113
6fb9403f0c80
parent 111
99cc7b567195
child 114
599b1b279478
equal deleted inserted replaced
112:2d8b8117e32d 113:6fb9403f0c80
106 else 106 else
107 nmap <silent> <S-F2> :Unite -start-insert file_rec/async:!<CR> 107 nmap <silent> <S-F2> :Unite -start-insert file_rec/async:!<CR>
108 endif 108 endif
109 109
110 " F-n keys call out to normal mode from insert mode 110 " F-n keys call out to normal mode from insert mode
111 imap <F1> <C-O><F1> 111 " only :noh seems smart to do.
112 imap <F2> <C-O><F2> 112 "imap <F1> <C-O><F1>
113 "imap <F2> <C-O><F2>
113 "imap <F3> <C-O><F3> 114 "imap <F3> <C-O><F3>
114 imap <F4> <C-O><F4> 115 imap <F4> <C-O><F4>
115 imap <F5> <C-O><F5> 116 "imap <F5> <C-O><F5>
116 "imap <F6> <C-O><F6> 117 "imap <F6> <C-O><F6>
117 "imap <F7> <C-O><F7> 118 "imap <F7> <C-O><F7>
118 imap <F8> <C-O><F8> 119 "imap <F8> <C-O><F8>
119 120
120 " chdir to the directory of the open buffer 121 " chdir to the directory of the open buffer
121 map <leader>cd :cd %:p:h<cr>:pwd<cr> 122 map <leader>cd :cd %:p:h<cr>:pwd<cr>
122 123
123 map <leader>pp :setlocal paste!<cr> 124 map <leader>pp :setlocal paste!<cr>
125
126 " faster window nav
127 nmap <C-h> <C-w>h
128 nmap <C-j> <C-w>j
129 nmap <C-k> <C-w>k
130 nmap <C-l> <C-w>l
124 "}}} 131 "}}}
125 132
126 133
127 " General settings {{{ 134 " General settings {{{
128 syntax on 135 syntax on

mercurial