Skip to content

Instantly share code, notes, and snippets.

@webstyle
Created May 25, 2020 17:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save webstyle/f7bbf3ead0b54a20fc6a7b6e5a430df3 to your computer and use it in GitHub Desktop.
Save webstyle/f7bbf3ead0b54a20fc6a7b6e5a430df3 to your computer and use it in GitHub Desktop.
my .vimrc
set rtp+=~/.vim/bundle/Vundle.vim
syntax on
filetype plugin indent on
colorscheme night-owl
nmap <silent> <C-D> :NERDTreeToggle<CR>
let g:user_emmet_expandabbr_key = '<C-D>'
call vundle#begin()
Plugin 'gmarik/Vundle.vim'
Plugin 'scrooloose/nerdtree'
Plugin 'jistr/vim-nerdtree-tabs'
Plugin 'airblade/vim-gitgutter'
Plugin 'vim-airline/vim-airline'
Plugin 'vim-airline/vim-airline-themes'
Plugin 'mattn/emmet-vim'
Plugin 'leafgarland/typescript-vim'
Plugin 'fatih/vim-go'
Plugin 'haishanh/night-owl.vim'
call vundle#end()
filetype plugin indent on
"vim syntax checker
"set statusline+=%#warningmsg#
"set statusline+=%{SyntasticStatuslineFlag()}
"set statusline+=%*
"let g:syntastic_always_populate_loc_list = 1
"let g:syntastic_auto_loc_list = 1
"let g:syntastic_check_on_open = 1
"let g:syntastic_check_on_wq = 0
"let g:syntastic_javascript_checkers = ['jscs']
map <Leader>n <plug>NERDTreeTabsToggle<CR>
""""" enable 24bit true color
" If you have vim >=8.0 or Neovim >= 0.1.5
if (has("termguicolors"))
set termguicolors
endif
" For Neovim 0.1.3 and 0.1.4
let $NVIM_TUI_ENABLE_TRUE_COLOR=1
""""" enable the theme
"Vim configs
set termencoding=utf-8
set encoding=utf-8
set laststatus=2
set number
set foldmethod=indent
"use system's clipboard, using this you can
set clipboard=unnamed
set tabstop=4 softtabstop=0 noexpandtab shiftwidth=4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment