.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
|
||||||
3
.vimrc
3
.vimrc
@@ -41,7 +41,10 @@ syntax on
|
|||||||
"
|
"
|
||||||
" Set the filetype based on the file's extension, but only if
|
" Set the filetype based on the file's extension, but only if
|
||||||
" 'filetype' has not already been set
|
" 'filetype' has not already been set
|
||||||
|
augroup filetypedetect
|
||||||
|
au BufRead,BufNewFile .i3initrc set filetype=sh
|
||||||
au BufRead,BufNewFile *.config setfiletype conf
|
au BufRead,BufNewFile *.config setfiletype conf
|
||||||
|
augroup END
|
||||||
|
|
||||||
set tabstop=4 " show existing tab with 4 spaces width
|
set tabstop=4 " show existing tab with 4 spaces width
|
||||||
set shiftwidth=4 " when indenting with '>', use 4 spaces width
|
set shiftwidth=4 " when indenting with '>', use 4 spaces width
|
||||||
|
|||||||
Reference in New Issue
Block a user