diff --git a/neovim/.config/nvim/init.vim b/neovim/.config/nvim/init.vim index c35302a..632dc97 100644 --- a/neovim/.config/nvim/init.vim +++ b/neovim/.config/nvim/init.vim @@ -3,8 +3,6 @@ if ($TERM=~"xterm-256color" || $TERM=~"screen-256color") || exists('g:GtkGuiLoad Plug 'cloudhead/neovim-fuzzy' Plug 'mhinz/vim-signify' Plug 'overcache/NeoSolarized' - - " language plugins Plug 'LnL7/vim-nix' Plug 'neovimhaskell/haskell-vim' call plug#end() @@ -13,6 +11,11 @@ if ($TERM=~"xterm-256color" || $TERM=~"screen-256color") || exists('g:GtkGuiLoad set background=light set termguicolors + " https://github.com/cloudhead/neovim-fuzzy/issues/50 + let g:fuzzy_rootcmds = [["git", "rev-parse", "--show-toplevel"]] + + map :FuzzyOpen + if exists('g:GtkGuiLoaded') call rpcnotify(1, 'Gui', 'Font', 'Fantasque Sans Mono 13') endif @@ -22,9 +25,6 @@ filetype plugin indent on let g:markdown_fenced_languages = ['python', 'bash=sh', 'go', 'c', 'cpp', 'yaml', 'json', 'sql', 'haskell'] -" https://github.com/cloudhead/neovim-fuzzy/issues/50 -let g:fuzzy_rootcmds = [["git", "rev-parse", "--show-toplevel"]] - set autoindent set autoread set autowrite @@ -58,8 +58,6 @@ nnoremap :nohls nnoremap gB :bp nnoremap gb :bn -map :FuzzyOpen - "noremap p p`[ "noremap P P`[