fix weird start when opening vim
when opening vim on files outside of tmux, vim is in a weird state, where the first command typed causes a delete of the current line. I tracked the issue down to this line in the vimrc
This commit is contained in:
@@ -179,9 +179,6 @@ set laststatus=2 " show the satus line all the time
|
|||||||
" Additional, plugin-specific mappings are located under
|
" Additional, plugin-specific mappings are located under
|
||||||
" the plugins section
|
" the plugins section
|
||||||
|
|
||||||
" clear search results on escape
|
|
||||||
nnoremap <silent> <esc> :nohlsearch<cr><esc>
|
|
||||||
|
|
||||||
" Close the current buffer
|
" Close the current buffer
|
||||||
noremap <C-x> :q<cr>
|
noremap <C-x> :q<cr>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user