Commit 83edb5f4 authored by Ashwin Vishnu's avatar Ashwin Vishnu
Browse files

Vim: Disable tnoremap, autojump and visual bell

parent dbb90b26
......@@ -32,6 +32,9 @@ function! s:set_background_by_time()
"set background=light
endfunction
" Disable beep and flash with an autocmd
set noerrorbells visualbell t_vb=
autocmd GUIEnter * set visualbell t_vb=
set nu
set splitbelow
set mouseshape=n:beam,ve:beam,sd:updown
......@@ -320,7 +323,7 @@ inoremap <C-j> <C-g>g
":term
""""""
if g:has_vim8
if g:has_nvim
tnoremap <ESC> <C-\><C-n>
endif
......
......@@ -44,7 +44,9 @@ Plug 'tpope/vim-surround'
"Remember last place
Plug 'farmergreg/vim-lastplace'
"Vim bindings for autojump python CLI tool
Plug 'trotter/autojump.vim'
if executable('autojump')
Plug 'trotter/autojump.vim'
endif
"Fuzzy finder
Plug 'ctrlpvim/ctrlp.vim'
"Show Diff
......@@ -83,10 +85,10 @@ Plug 'dpelle/vim-LanguageTool', {'for': ['text', 'markdown', 'rst']}
"Markdown
"""""""""
"Plug 'plasticboy/vim-markdown', {'for': 'markdown'}
"Plug 'suan/vim-instant-markdown', {'for': 'markdown'}
Plug 'suan/vim-instant-markdown', {'for': 'markdown'}
"Plug 'ashwinvis/vim-instant-markdown', {'for': 'markdown'}
"Plug 'ashwinvis/vim-instant-markdown', {'for': 'markdown', 'dir': '~/src/vim-markdown/vim-instant-markdown'}
Plug '~/src/vim-markdown/vim-instant-markdown', {'for': 'markdown', 'branch': 'dev'}
" Plug '~/src/vim-markdown/vim-instant-markdown', {'for': 'markdown', 'branch': 'dev'}
"Plug 'iamcco/markdown-preview.nvim', {'for': 'markdown', 'do': 'cd app & yarn install'}
"Plug 'JamshedVesuna/vim-markdown-preview', {'for': 'markdown'}
Plug 'vim-pandoc/vim-pandoc'
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment