Move ftplugin directory, add nvim-r plugin
This commit is contained in:
@@ -0,0 +1 @@
|
|||||||
|
setlocal colorcolumn=81
|
||||||
@@ -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
|
||||||
@@ -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
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user