.vimrc: Source vimrc from Neovim config
This commit is contained in:
3
.config/nvim/init.vim
Normal file
3
.config/nvim/init.vim
Normal file
@@ -0,0 +1,3 @@
|
||||
set runtimepath^=~/.vim runtimepath+=~/.vim/after
|
||||
let &packpath=&runtimepath
|
||||
source ~/.vimrc
|
||||
5
.vimrc
5
.vimrc
@@ -41,7 +41,10 @@ syntax on
|
||||
"
|
||||
" Set the filetype based on the file's extension, but only if
|
||||
" 'filetype' has not already been set
|
||||
au BufRead,BufNewFile *.config setfiletype conf
|
||||
augroup filetypedetect
|
||||
au BufRead,BufNewFile .i3initrc set filetype=sh
|
||||
au BufRead,BufNewFile *.config setfiletype conf
|
||||
augroup END
|
||||
|
||||
set tabstop=4 " show existing tab with 4 spaces width
|
||||
set shiftwidth=4 " when indenting with '>', use 4 spaces width
|
||||
|
||||
Reference in New Issue
Block a user