added link to use the vim config in nvim
This commit is contained in:
parent
99e5f52031
commit
3e7dbbdb40
|
@ -0,0 +1,5 @@
|
||||||
|
vim.cmd([[
|
||||||
|
set runtimepath^=$HOME/.vim runtimepath+=$HOME/.vim/after
|
||||||
|
let &packpath=&runtimepath
|
||||||
|
source $HOME/.vimrc
|
||||||
|
]])
|
10
vim/.vimrc
10
vim/.vimrc
|
@ -6,7 +6,15 @@ syntax on
|
||||||
filetype plugin on
|
filetype plugin on
|
||||||
set tabstop=4 shiftwidth=4 autoindent smartindent expandtab
|
set tabstop=4 shiftwidth=4 autoindent smartindent expandtab
|
||||||
set mouse=v
|
set mouse=v
|
||||||
set ttymouse=xterm
|
|
||||||
|
if !has('nvim')
|
||||||
|
set ttymouse=xterm2
|
||||||
|
endif
|
||||||
|
|
||||||
|
if has('nvim')
|
||||||
|
tnoremap <Esc> <C-\><C-n>
|
||||||
|
endif
|
||||||
|
|
||||||
let mapleader=","
|
let mapleader=","
|
||||||
|
|
||||||
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||||
|
|
Loading…
Reference in New Issue