Skip to content

Instantly share code, notes, and snippets.

@mbredikhin
Last active March 24, 2023 19:24
Show Gist options
  • Select an option

  • Save mbredikhin/1c2770e5b086958d5454139a30af125e to your computer and use it in GitHub Desktop.

Select an option

Save mbredikhin/1c2770e5b086958d5454139a30af125e to your computer and use it in GitHub Desktop.
vim config
call plug#begin('~/.vim/plugged')
Plug 'ctrlpvim/ctrlp.vim'
Plug 'fatih/vim-go', { 'tag': '*' }
Plug 'cocopon/iceberg.vim'
Plug 'tpope/vim-surround'
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
Plug 'junegunn/fzf.vim'
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
Plug 'chrisbra/vim-commentary'
call plug#end()
set nocompatible
filetype off
set number
set relativenumber
set tabstop=2
set shiftwidth=2
set smarttab
set expandtab
set softtabstop=2
set autoindent
syntax on
set mousehide
set mouse=r
set termencoding=utf-8
set novisualbell
set t_vb=
set backspace=indent,eol,start whichwrap+=<,>,[,]
set wrap
set linebreak
set nobackup
set noswapfile
set encoding=utf-8
set fileencodings=utf8,cp1251
set clipboard=unnamedplus
set ruler
set ignorecase
set smartcase
colorscheme iceberg
let g:airline_theme='iceberg'
nnoremap <leader>n :NERDTreeFocus<CR>
nnoremap <C-n> :NERDTree<CR>
nnoremap <C-t> :NERDTreeToggle<CR>
nnoremap <C-f> :NERDTreeFind<CR>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment