diff options
| -rw-r--r-- | nvim/ginit.vim | 11 | ||||
| -rw-r--r-- | nvim/init.vim | 14 |
2 files changed, 25 insertions, 0 deletions
diff --git a/nvim/ginit.vim b/nvim/ginit.vim new file mode 100644 index 0000000..d037612 --- /dev/null +++ b/nvim/ginit.vim @@ -0,0 +1,11 @@ + +if exists("g:fvim_loaded") + set guifont=LiterationMono\ Nerd\ Font\ Mono:h18 + nnoremap <A-CR> :FVimToggleFullScreen<CR> + FVimCursorSmoothMove v:true + FVimCursorSmoothBlink v:true + nnoremap <C--> :FVimBackgroundComposition 'transparent'<CR>:FVimBackgroundOpacity 0.8<CR> + nnoremap <C-=> :FVimBackgroundComposition 'none'<CR>:FVimBackgroundOpacity 1<CR> + FVimCustomTitleBar v:true + +endif diff --git a/nvim/init.vim b/nvim/init.vim index 69fe338..4957a6e 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -77,6 +77,9 @@ Plug 'kamwitsta/mythos' Plug 'softmotions/vim-dark-frost-theme' Plug 'ghifarit53/tokyonight-vim' +"Icons, requires a nerd font +Plug 'ryanoasis/vim-devicons' + " Terraform "Plug 'hashivim/vim-terraform' call plug#end() @@ -237,3 +240,14 @@ noremap <A-1> :source $MYVIMRC \| :PlugInstall<Cr> filetype plugin indent on syntax enable + +"Unmap a bunch of stuff set by lunarvim +if has_key(environ(), "LUNARVIM_BASE_DIR") + lua lvim.builtin.which_key.mappings.e = nil + lua lvim.lsp.buffer_mappings.normal_mode.K = nil + let $MYVIMRC=$LUNARVIM_BASE_DIR . "\\vimrc.vim" + nmap <C-Bslash> :NvimTreeToggle<CR> + vunmap <C-/> + vmap <C-/> :call NERDComment('x', 'toggle')<CR> + nnoremap <C-/> :call nerdcommenter#Comment('x', 'toggle')<CR> +endif |
