diff options
Diffstat (limited to 'vim')
-rw-r--r-- | vim/after/syntax/readline.vim | 3 | ||||
-rw-r--r-- | vim/ftplugin/tmux.vim | 2 | ||||
-rw-r--r-- | vim/syntax/readline.vim | 2 | ||||
-rw-r--r-- | vim/vimrc | 3 |
4 files changed, 9 insertions, 1 deletions
diff --git a/vim/after/syntax/readline.vim b/vim/after/syntax/readline.vim new file mode 100644 index 00000000..050b2dc1 --- /dev/null +++ b/vim/after/syntax/readline.vim @@ -0,0 +1,3 @@ +" Clear away the flag we set in syntax/readline.vim to include Bash commands +" in the highlight list +unlet! g:readline_has_bash diff --git a/vim/ftplugin/tmux.vim b/vim/ftplugin/tmux.vim index ecbd3e85..350bc976 100644 --- a/vim/ftplugin/tmux.vim +++ b/vim/ftplugin/tmux.vim @@ -6,4 +6,4 @@ endif " Set comment formats setlocal comments=:# setlocal formatoptions+=or -let b:undo_ftplugin = 'setlocal comments< formatoptions' +let b:undo_ftplugin = 'setlocal comments< formatoptions<' diff --git a/vim/syntax/readline.vim b/vim/syntax/readline.vim new file mode 100644 index 00000000..874ebb32 --- /dev/null +++ b/vim/syntax/readline.vim @@ -0,0 +1,2 @@ +" Include Bash commands in the highlight list +let g:readline_has_bash = 1 @@ -215,6 +215,9 @@ if exists('+virtualedit') set virtualedit+=block endif +" Never beep at me +set visualbell t_vb= + " Stack normal/visual/select Ctrl-L to clear search highlight nnoremap <silent> <C-L> :<C-U>nohlsearch<CR><C-L> vnoremap <silent> <C-L> :<C-U>nohlsearch<CR>gv<C-L> |