From 46141fa54b7a21d78282896bb70667dc25e49684 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Sat, 24 Apr 2021 18:22:52 +0530 Subject: fixed error when starting up startpage server --- .config/nvim/.netrwhist | 4 ++++ .config/nvim/init.vim | 10 ++++++++++ 2 files changed, 14 insertions(+) create mode 100644 .config/nvim/.netrwhist (limited to '.config/nvim') diff --git a/.config/nvim/.netrwhist b/.config/nvim/.netrwhist new file mode 100644 index 0000000..3251cdf --- /dev/null +++ b/.config/nvim/.netrwhist @@ -0,0 +1,4 @@ +let g:netrw_dirhistmax =10 +let g:netrw_dirhistcnt =2 +let g:netrw_dirhist_2='/zt/Docs/WebDev/react-practise/openbills/src/server/build/static' +let g:netrw_dirhist_1='/zt/Docs/WebDev/react-practise/openbills/build' diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index a0372fb..c75b61e 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -75,6 +75,16 @@ let g:Hexokinase_highlighters = ['virtual'] let g:vim_jsx_pretty_highlight_close_tag = 1 let g:vim_jsx_pretty_colorful_config = 1 +" for tab stop +filetype plugin indent on +" On pressing tab, insert 2 spaces +set expandtab +" show existing tab with 2 spaces width +set tabstop=2 +set softtabstop=2 +" when indenting with '>', use 2 spaces width +set shiftwidth=2 + " set filetypes as typescriptreact " augroup SyntaxSettings " autocmd! -- cgit v1.2.3