Ivan Polyakov
3 years ago
4 changed files with 48 additions and 0 deletions
@ -0,0 +1,37 @@ |
|||||||
|
""" General |
||||||
|
syntax enable |
||||||
|
set nocompatible | filetype indent plugin on | syn on |
||||||
|
set backspace=indent,eol,start |
||||||
|
|
||||||
|
set ruler " show current line and column |
||||||
|
set nu " show line numbers |
||||||
|
set cc=75 " show column ruler |
||||||
|
set ts=4 |
||||||
|
set shiftwidth=4 |
||||||
|
set expandtab |
||||||
|
|
||||||
|
""" Colors |
||||||
|
syntax on |
||||||
|
colorscheme nord " !nord plugin required |
||||||
|
|
||||||
|
""" Finding files |
||||||
|
set path+=** " Provides tab-completion for all file-related tasks |
||||||
|
set wildmenu " Display all mathing files when we tab complete |
||||||
|
|
||||||
|
""" Tags |
||||||
|
command! Mktags !ctags -R . |
||||||
|
|
||||||
|
""" file browsing |
||||||
|
let g:netrw_banner=0 " disable annoying banner |
||||||
|
let g:netrw_browse_split=4 " open in prior window |
||||||
|
let g:netrw_altv=1 " open splits to the right |
||||||
|
let g:netrw_liststyle=3 " tree view |
||||||
|
let g:netrw_list_hide=netrw_gitignore#Hide() |
||||||
|
|
||||||
|
"" typo |
||||||
|
setlocal spell |
||||||
|
set spelllang=en |
||||||
|
inoremap <C-l> <c-g>u<Esc>[s1z=`]a<c-g>u |
||||||
|
|
||||||
|
""" Plugins |
||||||
|
lua require('plugins') |
@ -0,0 +1,7 @@ |
|||||||
|
return require('packer').startup(function() |
||||||
|
use 'wbthomason/packer.nvim' |
||||||
|
|
||||||
|
use 'shaunsingh/nord.nvim' |
||||||
|
|
||||||
|
use 'preservim/nerdtree' |
||||||
|
end) |
@ -0,0 +1,3 @@ |
|||||||
|
[submodule ".local/share/nvim/site/pack/packer/start/packer.nvim"] |
||||||
|
path = .local/share/nvim/site/pack/packer/start/packer.nvim |
||||||
|
url = https://github.com/wbthomason/packer.nvim |
Loading…
Reference in new issue