.vimrc formatting, autoload NERDTree on run.
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
*.swp
|
||||||
Binary file not shown.
30
.vimrc
30
.vimrc
@@ -1,20 +1,36 @@
|
|||||||
|
" disable vi compatibility
|
||||||
set nocompatible
|
set nocompatible
|
||||||
|
|
||||||
|
" choose based on filetype
|
||||||
filetype on
|
filetype on
|
||||||
filetype plugin on
|
filetype plugin on
|
||||||
|
|
||||||
|
" syntax highlighting
|
||||||
syntax on
|
syntax on
|
||||||
|
|
||||||
|
" basic functions
|
||||||
set number
|
set number
|
||||||
set cursorline
|
set cursorline
|
||||||
set termguicolors
|
set termguicolors
|
||||||
set expandtab
|
|
||||||
set tabstop=4
|
|
||||||
set shiftwidth=4
|
|
||||||
set nowrap
|
set nowrap
|
||||||
set incsearch
|
|
||||||
set ignorecase
|
|
||||||
set smartcase
|
|
||||||
set hlsearch
|
|
||||||
set showcmd
|
set showcmd
|
||||||
set history=1000
|
set history=1000
|
||||||
set wildmenu
|
set wildmenu
|
||||||
set wildmode=list:longest
|
set wildmode=list:longest
|
||||||
|
|
||||||
|
" tabs
|
||||||
|
set expandtab
|
||||||
|
set tabstop=4
|
||||||
|
set shiftwidth=4
|
||||||
|
|
||||||
|
" searching
|
||||||
|
set incsearch
|
||||||
|
set ignorecase
|
||||||
|
set smartcase
|
||||||
|
set hlsearch
|
||||||
|
|
||||||
|
" theme
|
||||||
colorscheme catppuccin_macchiato
|
colorscheme catppuccin_macchiato
|
||||||
|
|
||||||
|
" plugins
|
||||||
|
autocmd VimEnter * NERDTree
|
||||||
|
|||||||
Reference in New Issue
Block a user