added link to use the vim config in nvim

This commit is contained in:
Stefan Etringer 2025-08-26 14:08:48 +02:00
parent 99e5f52031
commit 3e7dbbdb40
2 changed files with 14 additions and 1 deletions

View File

@ -0,0 +1,5 @@
vim.cmd([[
set runtimepath^=$HOME/.vim runtimepath+=$HOME/.vim/after
let &packpath=&runtimepath
source $HOME/.vimrc
]])

View File

@ -6,7 +6,15 @@ syntax on
filetype plugin on
set tabstop=4 shiftwidth=4 autoindent smartindent expandtab
set mouse=v
set ttymouse=xterm
if !has('nvim')
set ttymouse=xterm2
endif
if has('nvim')
tnoremap <Esc> <C-\><C-n>
endif
let mapleader=","
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""