call plug#begin('~/.local/share/nvim/plugged') " basic Plug 'itchyny/lightline.vim' Plug 'Yggdroot/indentLine' " Plug 'romgrk/doom-one.vim' Plug 'MikunoNaka/doom-one.vim' call plug#end() " line numbers set number set nu " colorscheme config colorscheme doom-one set termguicolors syntax enable " remove vim status because lightline replaces it set noshowmode " lightline config " colorscheme wombat for lightline let g:lightline = { \ 'colorscheme': 'darcula' \ } " 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 " mouse support for visual, etc set mouse=a " disable word wrapping set nowrap " copy/paste from clipboard " Copy to clipboard vnoremap y "+y nnoremap Y "+yg_ nnoremap y "+y nnoremap yy "+yy " Paste from clipboard nnoremap p "+p nnoremap P "+P vnoremap p "+p vnoremap P "+P