.vimrc formatting, autoload NERDTree on run.
This commit is contained in:
30
.vimrc
30
.vimrc
@@ -1,20 +1,36 @@
|
||||
" disable vi compatibility
|
||||
set nocompatible
|
||||
|
||||
" choose based on filetype
|
||||
filetype on
|
||||
filetype plugin on
|
||||
|
||||
" syntax highlighting
|
||||
syntax on
|
||||
|
||||
" basic functions
|
||||
set number
|
||||
set cursorline
|
||||
set termguicolors
|
||||
set expandtab
|
||||
set tabstop=4
|
||||
set shiftwidth=4
|
||||
set nowrap
|
||||
set incsearch
|
||||
set ignorecase
|
||||
set smartcase
|
||||
set hlsearch
|
||||
set showcmd
|
||||
set history=1000
|
||||
set wildmenu
|
||||
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
|
||||
|
||||
" plugins
|
||||
autocmd VimEnter * NERDTree
|
||||
|
||||
Reference in New Issue
Block a user