Created
October 6, 2024 20:32
-
-
Save Kyborg2011/2b5e6c82f4db2a4e9a14dfbfa99e805d to your computer and use it in GitHub Desktop.
.vimrc personal default config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set encoding=UTF-8 | |
" Plugin directory is optional | |
call plug#begin() | |
" Declare the list of plugins. | |
Plug 'tpope/vim-sensible' | |
Plug 'junegunn/seoul256.vim' | |
Plug 'junegunn/vim-github-dashboard', { 'on': ['GHDashboard', 'GHActivity'] } | |
Plug 'preservim/nerdtree' | | |
\ Plug 'Xuyuanp/nerdtree-git-plugin' | | |
\ Plug 'ryanoasis/vim-devicons' | |
Plug 'junegunn/goyo.vim', { 'for': 'markdown' } | |
Plug 'junegunn/limelight.vim' | |
Plug 'airblade/vim-gitgutter' | |
Plug 'vim-airline/vim-airline' | |
Plug 'dense-analysis/ale' | |
Plug 'jmcantrell/vim-virtualenv' | |
Plug 'mildred/vim-bufmru' | |
Plug 'cdelledonne/vim-cmake' | |
Plug 'autozimu/LanguageClient-neovim', { | |
\ 'branch': 'next', | |
\ 'do': 'bash install.sh', | |
\ } | |
" (Optional) Multi-entry selection UI. | |
Plug 'junegunn/fzf' | |
Plug 'tpope/vim-fugitive' | |
Plug 'rbong/vim-flog' | |
Plug 'tpope/vim-surround' | |
" List ends here. Plugins become visible to Vim after this call. | |
call plug#end() | |
let g:airline_powerline_fonts = 1 | |
" Unified color scheme (default: dark) | |
let g:seoul256_background = 233 | |
colo seoul256 | |
nnoremap <leader>n :NERDTreeFocus<CR> | |
nnoremap <C-n> :NERDTree<CR> | |
nnoremap <C-t> :NERDTreeToggle<CR> | |
nnoremap <C-f> :NERDTreeFind<CR> | |
" Start NERDTree when Vim is started without file arguments. | |
autocmd StdinReadPre * let s:std_in=1 | |
autocmd VimEnter * if argc() == 0 && !exists('s:std_in') | NERDTree | endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment