summaryrefslogtreecommitdiff
path: root/keys
diff options
context:
space:
mode:
authorChris <[email protected]>2020-05-12 11:31:12 -0400
committerChris <[email protected]>2020-05-12 11:31:12 -0400
commit6d157bb63a92871b7ddddf354b7733e9d5d9af6c (patch)
treed8efd495bfc8a76524c6857fc36ea8c36cf3fdbb /keys
parent102530aec6cc3e81eaef6c65b3bade1c8354e24e (diff)
silent keymappings, less themes
Diffstat (limited to 'keys')
-rw-r--r--keys/mappings.vim20
1 files changed, 10 insertions, 10 deletions
diff --git a/keys/mappings.vim b/keys/mappings.vim
index 3e1d5741..33802954 100644
--- a/keys/mappings.vim
+++ b/keys/mappings.vim
@@ -27,18 +27,18 @@ else
" nnoremap <c-u> viwU<Esc>
" TAB in general mode will move to text buffer
- nnoremap <TAB> :bnext<CR>
+ nnoremap <silent> <TAB> :bnext<CR>
" SHIFT-TAB will go back
- nnoremap <S-TAB> :bprevious<CR>
+ nnoremap <silent> <S-TAB> :bprevious<CR>
" Alternate way to save
- nnoremap <C-s> :w<CR>
+ nnoremap <silent> <C-s> :w<CR>
" Alternate way to quit
- nnoremap <C-Q> :wq!<CR>
+ nnoremap <silent> <C-Q> :wq!<CR>
" Use control-c instead of escape
- nnoremap <C-c> <Esc>
+ nnoremap <silent> <C-c> <Esc>
" <TAB>: completion.
- inoremap <expr><TAB> pumvisible() ? "\<C-n>" : "\<TAB>"
+ inoremap <silent> <expr><TAB> pumvisible() ? "\<C-n>" : "\<TAB>"
" Better window navigation
@@ -48,9 +48,9 @@ else
nnoremap <C-l> <C-w>l
" Use alt + hjkl to resize windows
- nnoremap <M-j> :resize -2<CR>
- nnoremap <M-k> :resize +2<CR>
- nnoremap <M-h> :vertical resize -2<CR>
- nnoremap <M-l> :vertical resize +2<CR>
+ nnoremap <silent> <M-j> :resize -2<CR>
+ nnoremap <silent> <M-k> :resize +2<CR>
+ nnoremap <silent> <M-h> :vertical resize -2<CR>
+ nnoremap <silent> <M-l> :vertical resize +2<CR>
endif