|
@@ -77,6 +77,12 @@ vnoremap k gk
|
|
|
nnoremap <C-P> :Unite -no-split -buffer-name=files -start-insert file_rec<cr>
|
|
|
nnoremap <C-O> :Unite -no-split -buffer-name=buffers -start-insert buffer<cr>
|
|
|
|
|
|
+" ------ nvim specific ------
|
|
|
+if has('nvim')
|
|
|
+ tnoremap jj <C-\><C-N>
|
|
|
+ tnoremap <C-W> <C-\><C-N><C-W>
|
|
|
+endif
|
|
|
+
|
|
|
augroup formatting
|
|
|
au!
|
|
|
" strip trailing whitespace
|