From 4684efd8216bd3b4d2f2af7b439e030309e85206 Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado Date: Sat, 26 Aug 2023 16:06:53 -0600 Subject: feat: add neovim-qt support (windows) and .editorconfig --- ginit.vim | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 ginit.vim (limited to 'ginit.vim') diff --git a/ginit.vim b/ginit.vim new file mode 100644 index 0000000..5645ef2 --- /dev/null +++ b/ginit.vim @@ -0,0 +1,29 @@ +" Enable Mouse +set mouse=a + +" Set Editor Font +if exists(':GuiFont') + " Use GuiFont! to ignore font errors + GuiFont! NotoMono Nerd Font Mono +endif + +" Disable GUI Tabline +if exists(':GuiTabline') + GuiTabline 0 +endif + +" Disable GUI Popupmenu +if exists(':GuiPopupmenu') + GuiPopupmenu 0 +endif + +" Enable GUI ScrollBar +if exists(':GuiScrollBar') + GuiScrollBar 1 +endif + +" Right Click Context Menu (Copy-Cut-Paste) +nnoremap :call GuiShowContextMenu() +inoremap :call GuiShowContextMenu() +xnoremap :call GuiShowContextMenu()gv +snoremap :call GuiShowContextMenu()gv -- cgit v1.2.3-54-g00ecf