mirror of
https://github.com/chylex/dotfiles.git
synced 2026-02-14 06:06:14 +01:00
Compare commits
1 Commits
d476fb1e73
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
87894a11b5
|
3
.vimrc
3
.vimrc
@@ -181,6 +181,9 @@ xnoremap P p
|
|||||||
" Clear search highlights
|
" Clear search highlights
|
||||||
nnoremap <Esc> :nohlsearch<Return><Esc>
|
nnoremap <Esc> :nohlsearch<Return><Esc>
|
||||||
|
|
||||||
|
" Prevent deleting whitespace on empty lines when exiting Normal mode
|
||||||
|
inoremap <silent> <Esc> <C-O>:stopinsert<CR>
|
||||||
|
|
||||||
" Completion
|
" Completion
|
||||||
inoremap <C-Space> <C-n>
|
inoremap <C-Space> <C-n>
|
||||||
inoremap <expr> j pumvisible() ? '<C-n>' : 'j'
|
inoremap <expr> j pumvisible() ? '<C-n>' : 'j'
|
||||||
|
|||||||
Reference in New Issue
Block a user