Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- call plug#begin()
- Plug 'rakr/vim-one'
- Plug 'sheerun/vim-polyglot'
- Plug 'scrooloose/nerdcommenter'
- call plug#end()
- " Keybindings
- inoremap <C-j> <ESC>
- nmap <C-f> :set nohlsearch<CR>
- vmap <C-f> :set nohlsearch<CR>
- imap <C-f> :set nohlsearch<CR>
- nmap <C-q> :q<CR>
- nmap <C-s> :w<CR>
- nmap <C-m> :set nonumber norelativenumber<CR>
- vmap <C-m> :set nonumber norelativenumber<CR>
- imap <C-m> :set nonumber norelativenumber<CR>
- " Comment lines
- nmap ++ <plug>NERDCommenterToggle
- vmap ++ <plug>NERDCommenterToggle
- " Line numbers
- set number relativenumber
- " Use mouse to navigate
- "set mouse=a
- " Disable line wrapping
- set nowrap
- " Theme
- if (has("nvim"))
- let $NVIM_TUI_ENABLE_TRUE_COLOR=1
- endif
- if (has("termguicolors"))
- set termguicolors
- endif
- " Use Terminal background color
- autocmd VimEnter * hi Normal guibg=NONE ctermbg=NONE
- set background=dark
- colorscheme one
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement