.vimrc formatting, autoload NERDTree on run.

This commit is contained in:
Dan MacLeod
2023-08-14 11:24:31 +09:30
parent e2cd164b2e
commit d490601834
3 changed files with 24 additions and 7 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
*.swp

Binary file not shown.

30
.vimrc
View File

@@ -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