Move ftplugin directory, add nvim-r plugin

This commit is contained in:
Riyyi
2018-10-16 22:24:32 +02:00
parent 34879bebec
commit 0e60de8c09
5 changed files with 20 additions and 2 deletions
+1
View File
@@ -0,0 +1 @@
setlocal colorcolumn=81
+16
View File
@@ -0,0 +1,16 @@
" General
setlocal cmdheight=1
setlocal colorcolumn=81
setlocal textwidth=80
" Document structuring
nnoremap ;be i\begin{(<>)}<Return><Tab><Return>\end{(<>)}<Esc>kk^
" Text formatting
inoremap ;b \textbf{}(<>)<Esc>T{i
inoremap ;i \textit{}(<>)<Esc>T{i
inoremap ;u \underline{}(<>)<Esc>T{i
inoremap ;e \emph{}(<>)<Esc>T{i
" Next section
noremap <silent> .. <Esc>/(<>)<Enter>"_c4l
+1
View File
@@ -4,5 +4,6 @@ https://github.com/mgee/lightline-bufferline.git
https://github.com/scrooloose/nerdtree.git https://github.com/scrooloose/nerdtree.git
https://github.com/scrooloose/nerdcommenter.git https://github.com/scrooloose/nerdcommenter.git
https://github.com/lervag/vimtex.git https://github.com/lervag/vimtex.git
https://github.com/jalvesaq/Nvim-R.git
opt: opt:
https://github.com/kristijanhusak/vim-hybrid-material.git https://github.com/kristijanhusak/vim-hybrid-material.git
+2 -2
View File
@@ -5,8 +5,8 @@ set nocompatible
" Setup paths " Setup paths
set backupdir=$XDG_CACHE_HOME/vim,/var/tmp,/tmp set backupdir=$XDG_CACHE_HOME/vim,/var/tmp,/tmp
set directory=$XDG_CACHE_HOME/vim,/var/tmp,/tmp set directory=$XDG_CACHE_HOME/vim,/var/tmp,/tmp
set packpath^=$XDG_CONFIG_HOME/vim,$XDG_CONFIG_HOME/vim/after set packpath^=$XDG_CONFIG_HOME/vim
set runtimepath^=$XDG_CONFIG_HOME/vim,$XDG_CONFIG_HOME/vim/after set runtimepath^=$XDG_CONFIG_HOME/vim
set viminfo+=n$XDG_CACHE_HOME/vim_history set viminfo+=n$XDG_CACHE_HOME/vim_history
"" General "" General