Skip to content

Instantly share code, notes, and snippets.

@LastDreamer
Last active August 29, 2015 14:27
Show Gist options
  • Save LastDreamer/c36d8c0dde927aa9fa4d to your computer and use it in GitHub Desktop.
Save LastDreamer/c36d8c0dde927aa9fa4d to your computer and use it in GitHub Desktop.
set nocompatible
filetype off
set scrolloff=3
set ai
set showcmd
set nobackup
set number
set relativenumber
set ruler
set hlsearch
set incsearch
set showmatch
set ignorecase
set smartcase
set visualbell t_bv=
set novisualbell
set backspace=indent,eol,start
set expandtab
set shiftwidth=4
set softtabstop=4
set smartindent
set smarttab
syntax on
filetype on
filetype indent on
call plug#begin('~/.nvim/plugged')
Plug 'jnurmine/Zenburn'
Plug 'easymotion/vim-easymotion'
Plug 'bling/vim-airline'
Plug 'https://github.com/mattn/emmet-vim'
Plug 'kien/ctrlp.vim'
Plug 'terryma/vim-multiple-cursors'
Plug 'edkolev/tmuxline.vim'
Plug 'tpope/vim-fugitive'
Plug 'jiangmiao/auto-pairs'
Plug 'mattn/gist-vim'
Plug 'mattn/webapi-vim'
call plug#end()
colorscheme zenburn
imap jk <Esc>
imap ол <Esc>
set laststatus=2
let g:airline#extensions#tabline#enabled = 1
let g:airline_powerline_fonts = 1
autocmd BufWritePre * :%s/\s\+$//e
map <Leader> <Plug>(easymotion-s)
nmap <C-L> :bn!<CR>
nmap <C-H> :bp!<CR>
nmap <C-A> :w<CR>:bd<CR>
nmap <C-S> :w<CR>
nmap tui :e! ~/.nvimrc<CR>
" перемещение по окнам
tnoremap <A-h> <C-\><C-n><C-w>h
tnoremap <A-j> <C-\><C-n><C-w>j
tnoremap <A-k> <C-\><C-n><C-w>k
tnoremap <A-l> <C-\><C-n><C-w>l
nnoremap <A-h> <C-w>h
nnoremap <A-j> <C-w>j
nnoremap <A-k> <C-w>k
nnoremap <A-l> <C-w>l
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment