From 3e7dbbdb40725156f13df43c4f1f2ee640639a59 Mon Sep 17 00:00:00 2001 From: Stefan Etringer Date: Tue, 26 Aug 2025 14:08:48 +0200 Subject: [PATCH] added link to use the vim config in nvim --- nvim/.config/nvim/init.lua | 5 +++++ vim/.vimrc | 10 +++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 nvim/.config/nvim/init.lua diff --git a/nvim/.config/nvim/init.lua b/nvim/.config/nvim/init.lua new file mode 100644 index 0000000..bb1c60c --- /dev/null +++ b/nvim/.config/nvim/init.lua @@ -0,0 +1,5 @@ +vim.cmd([[ +set runtimepath^=$HOME/.vim runtimepath+=$HOME/.vim/after +let &packpath=&runtimepath +source $HOME/.vimrc +]]) diff --git a/vim/.vimrc b/vim/.vimrc index 0565566..f11f3fb 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -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 +endif + let mapleader="," """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""