diff options
| author | Alexander M Pickering <alex@cogarr.net> | 2024-08-16 20:41:26 -0500 |
|---|---|---|
| committer | Alexander M Pickering <alex@cogarr.net> | 2024-08-16 20:41:26 -0500 |
| commit | 8e262292585fd0eb031738ac05eee4a1bdd91e84 (patch) | |
| tree | 1666d2b8261af6f617f5b0be0cd1f0f540f5ff9a | |
| parent | 0bb7257443f82a11af6aeb1d47018ca363d0658a (diff) | |
| download | dotfiles-8e262292585fd0eb031738ac05eee4a1bdd91e84.tar.gz dotfiles-8e262292585fd0eb031738ac05eee4a1bdd91e84.tar.bz2 dotfiles-8e262292585fd0eb031738ac05eee4a1bdd91e84.zip | |
Updates
| -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 |
