More changes, git command

a12556694698a9276402eddcd1745679f017c8fd
Alexis Sellier committed ago 1 parent a0a52a5c
.vimrc +4 -1
150 150
noremap k gk
151 151
152 152
" Like '*' but stays on the original word
153 153
nnoremap <C-n>           *N
154 154
nnoremap c*              *Ncgn
155 -
nnoremap <Leader><Tab>   :nohl<CR>
155 +
nnoremap <Leader>n       :nohl<CR>
156 +
157 +
" Git
158 +
nnoremap <Leader>gc      :Gwrite <Bar> :Gcommit<CR>
156 159
157 160
 " Select recently pasted text
158 161
nnoremap <leader>p       V`]
159 162
160 163
" Switch buffers easily