Skip to content

Instantly share code, notes, and snippets.

@agjaeger
Created June 16, 2020 17:54
Show Gist options
  • Save agjaeger/9b9b18acfd07c68531657b85bda03dfe to your computer and use it in GitHub Desktop.
Save agjaeger/9b9b18acfd07c68531657b85bda03dfe to your computer and use it in GitHub Desktop.
syntax on
set noerrorbells
set tabstop=4 softtabstop=4
set shiftwidth=4
set expandtab
set smartindent
set nu
set nowrap
set smartcase
set noswapfile
set nobackup
set incsearch
let g:netrw_liststyle = 3
let g:netrw_banner = 0
let g:netrw_browse_split = 2
let g:netrw_winsize = 25
set cc=
set rnu
" cd C:\Users\Alex\Projects
call plug#begin('~/.vim/plugged')
Plug 'neoclide/coc.nvim', {'branch': 'release'}
Plug 'tweekmonster/gofmt.vim'
Plug 'tpope/vim-fugitive'
Plug 'vim-utils/vim-man'
Plug 'mbbill/undotree'
Plug 'sheerun/vim-polyglot'
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
Plug 'junegunn/fzf.vim'
Plug 'morhetz/gruvbox'
Plug 'tpope/vim-repeat'
Plug 'tpope/vim-surround'
Plug 'ycm-core/YouCompleteMe'
Plug 'preservim/nerdtree'
call plug#end()
colorscheme gruvbox
set background=dark
if executable('rg')
let g:rg_derive_root='true'
endif
set showcmd
set encoding=utf-8
tnoremap <Esc> <C-\><C-n>
map <C-n> :NERDTreeToggle<CR>
map <C-l> :noh<CR>
" ab vimrcpath C:\Users\Alex\AppData\Local\nvim\init.vim
au BufWinEnter * set number
nnoremap <C-J> <C-W><C-J>
nnoremap <C-K> <C-W><C-K>
nnoremap <C-L> <C-W><C-L>
nnoremap <C-H> <C-W><C-H>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment