call plug#begin('~/.vim/plugged') Plug 'ryanoasis/vim-devicons' Plug 'itchyny/lightline.vim' Plug 'nathanaelkane/vim-indent-guides' Plug 'Smirnov-O/nten16.vim' Plug 'iamcco/markdown-preview.nvim' Plug 'dhruvasagar/vim-table-mode' Plug 'easymotion/vim-easymotion' Plug 'voldikss/vim-floaterm' " File manger & seacher Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' } Plug 'kien/ctrlp.vim', { 'on': 'CtrlP' } " Completion Plug 'jiangmiao/auto-pairs' Plug 'neoclide/coc.nvim', {'branch': 'release'} " Language support Plug 'pangloss/vim-javascript', { 'for': 'javascript' } Plug 'PotatoesMaster/i3-vim-syntax', { 'for': 'i3' } Plug 'kovetskiy/sxhkd-vim', { 'for': 'sxhkd' } Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries', 'for': 'go' } Plug 'mattn/emmet-vim', { 'on': 'Emmet' } Plug 'Olical/vim-scheme', { 'for': 'scheme' } Plug 'cakebaker/scss-syntax.vim', { 'for': 'scss' } Plug 'dag/vim-fish', { 'for': 'fish' } Plug 'plasticboy/vim-markdown', { 'for': 'markdown' } Plug 'ap/vim-css-color' call plug#end() set termguicolors set background=dark colorscheme nten16 set number set relativenumber syntax on set ruler set t_Co=256 set mouse=a set mousehide set encoding=utf-8 set fileencodings=utf8,cp1251 set cursorline set nowrap set nolinebreak set nobackup set noswapfile set history=100 set autoread set showmode set showcmd set tabstop=4 set shiftwidth=4 set softtabstop=4 set expandtab set autoindent set incsearch set ignorecase set smartcase set hidden set smartindent set visualbell t_vb= " == Plugins configure " Lightline set noshowmode let g:lightline = { \ 'colorscheme': 'nten16', \ 'active': { \ 'left': [ [ 'mode', 'paste' ], \ [ 'readonly', 'modified' ] ], \ 'right': [ [ 'lineinfo' ], \ [ 'percent' ], \ [ 'filename', 'fileencoding', 'filetype' ] ] \ }, } " Nerdtree map :NERDTreeToggle let g:NERDTreeWinPos="right" let NERDTreeIgnore = ['__pycache__', '\.pyc$', '\.o$', '\.so$', '\.a$', '\.swp', '*\.swp', '\.swo', '\.swn', '\.swh', '\.swm', '\.swl', '\.swk', '\.sw*$', '[a-zA-Z]*egg[a-zA-Z]*', '.DS_Store'] let NERDTreeMinimalUI = 1 let NERDTreeShowLineNumbers=0 " Coc inoremap pumvisible() ? "\" : "\" inoremap pumvisible() ? "\" : "\" " Markdown let g:vim_markdown_folding_disabled = 1 " Easymotion let g:EasyMotion_do_mapping = 0 let g:EasyMotion_smartcase = 1 nmap f (easymotion-s) nmap w (easymotion-bd-w) nmap F (easymotion-overwin-line) nmap s (easymotion-overwin-f2) " CtrlP map :CtrlP imap :CtrlP nmap :CtrlP " Indent guides let g:indent_guides_enable_on_vim_startup = 1 " Floaterm nmap :FloatermNew --title=vimterminal --position=top --autoclose=2 " == Maping "imap fd let mapleader="," " Window nmap :wincmd h nmap :wincmd j nmap :wincmd k nmap :wincmd l nmap :wincmd q nmap :wincmd n nmap :wincmd K nmap :wincmd L nmap :wincmd < nmap :wincmd > " Tab's noremap :tabnext noremap :tabprev noremap :tabnew noremap :tabnew noremap :tabclose noremap :tabn 1 noremap :tabn 2 noremap :tabn 3 noremap :tabn 4 noremap :tabn 5 noremap :tabn 6 noremap :tabn 7 noremap :tabn 8 noremap :tabn 9 noremap n :bnext noremap p :bprev