From cc22382a2bd7f6b82e157953d43bfaa24af06af5 Mon Sep 17 00:00:00 2001 From: "Claudio Maggioni (maggicl)" Date: Sat, 29 Jun 2019 16:37:23 +0200 Subject: [PATCH] Configured ensime for Scala+SBT, added new file manager instead of netrw, and other minor tweaks --- .gitmodules | 15 +- doc/denite.txt | 1 - doc/dirvish.txt | 1 + doc/ensime.txt | 1 + doc/fugitive.txt | 1 + doc/tags | 351 ++++++++++++++----------------- init.vim | 49 +++-- opt | 1 + pack/plugins/start/denite.nvim | 1 - pack/plugins/start/ensime-vim | 1 + pack/plugins/start/gitignore.vim | 1 + pack/plugins/start/vim-dirvish | 1 + pack/plugins/start/vim-fugitive | 1 + pack/plugins/start/vim-go | 2 +- 14 files changed, 204 insertions(+), 223 deletions(-) delete mode 120000 doc/denite.txt create mode 120000 doc/dirvish.txt create mode 120000 doc/ensime.txt create mode 120000 doc/fugitive.txt create mode 120000 opt delete mode 160000 pack/plugins/start/denite.nvim create mode 160000 pack/plugins/start/ensime-vim create mode 160000 pack/plugins/start/gitignore.vim create mode 160000 pack/plugins/start/vim-dirvish create mode 160000 pack/plugins/start/vim-fugitive diff --git a/.gitmodules b/.gitmodules index 9b47dea..e0e76a2 100644 --- a/.gitmodules +++ b/.gitmodules @@ -31,9 +31,18 @@ [submodule "pack/plugins/start/vim-go"] path = pack/plugins/start/vim-go url = https://github.com/fatih/vim-go.git -[submodule "pack/plugins/start/denite.nvim"] - path = pack/plugins/start/denite.nvim - url = https://github.com/Shougo/denite.nvim [submodule "pack/plugins/start/suda.vim"] path = pack/plugins/start/suda.vim url = https://github.com/lambdalisue/suda.vim +[submodule "pack/plugins/start/vim-dirvish"] + path = pack/plugins/start/vim-dirvish + url = https://github.com/justinmk/vim-dirvish +[submodule "pack/plugins/start/ensime-vim"] + path = pack/plugins/start/ensime-vim + url = https://github.com/ensime/ensime-vim +[submodule "pack/plugins/start/vim-fugitive"] + path = pack/plugins/start/vim-fugitive + url = https://github.com/tpope/vim-fugitive +[submodule "pack/plugins/start/gitignore.vim"] + path = pack/plugins/start/gitignore.vim + url = https://github.com/vim-scripts/gitignore.vim diff --git a/doc/denite.txt b/doc/denite.txt deleted file mode 120000 index ef1efa1..0000000 --- a/doc/denite.txt +++ /dev/null @@ -1 +0,0 @@ -../autostart/denite.nvim/doc/denite.txt \ No newline at end of file diff --git a/doc/dirvish.txt b/doc/dirvish.txt new file mode 120000 index 0000000..01fa642 --- /dev/null +++ b/doc/dirvish.txt @@ -0,0 +1 @@ +../autostart/vim-dirvish/doc/dirvish.txt \ No newline at end of file diff --git a/doc/ensime.txt b/doc/ensime.txt new file mode 120000 index 0000000..647f2f4 --- /dev/null +++ b/doc/ensime.txt @@ -0,0 +1 @@ +../autostart/ensime-vim/doc/ensime.txt \ No newline at end of file diff --git a/doc/fugitive.txt b/doc/fugitive.txt new file mode 120000 index 0000000..1b11f6c --- /dev/null +++ b/doc/fugitive.txt @@ -0,0 +1 @@ +../autostart/vim-fugitive/doc/fugitive.txt \ No newline at end of file diff --git a/doc/tags b/doc/tags index 7510b76..494dcbd 100644 --- a/doc/tags +++ b/doc/tags @@ -65,7 +65,6 @@ 'g:go_metalinter_disabled' vim-go.txt /*'g:go_metalinter_disabled'* 'g:go_metalinter_enabled' vim-go.txt /*'g:go_metalinter_enabled'* 'g:go_mod_fmt_autosave' vim-go.txt /*'g:go_mod_fmt_autosave'* -'g:go_null_module_warning' vim-go.txt /*'g:go_null_module_warning'* 'g:go_play_browser_command' vim-go.txt /*'g:go_play_browser_command'* 'g:go_play_open_browser' vim-go.txt /*'g:go_play_open_browser'* 'g:go_search_bin_path_first' vim-go.txt /*'g:go_search_bin_path_first'* @@ -147,11 +146,33 @@ :AirlineToggle airline.txt /*:AirlineToggle* :AirlineToggleWhitespace airline.txt /*:AirlineToggleWhitespace* :AsmFmt vim-go.txt /*:AsmFmt* -:Denite denite.txt /*:Denite* -:DeniteBufferDir denite.txt /*:DeniteBufferDir* -:DeniteCursorWord denite.txt /*:DeniteCursorWord* -:DeniteProjectDir denite.txt /*:DeniteProjectDir* +:EnAddImport ensime.txt /*:EnAddImport* +:EnDebugBacktrace ensime.txt /*:EnDebugBacktrace* +:EnDebugClearBreaks ensime.txt /*:EnDebugClearBreaks* +:EnDebugContinue ensime.txt /*:EnDebugContinue* +:EnDebugNext ensime.txt /*:EnDebugNext* +:EnDebugSetBreak ensime.txt /*:EnDebugSetBreak* +:EnDebugStart ensime.txt /*:EnDebugStart* +:EnDebugStep ensime.txt /*:EnDebugStep* +:EnDebugStepOut ensime.txt /*:EnDebugStepOut* +:EnDeclaration ensime.txt /*:EnDeclaration* +:EnDeclarationSplit ensime.txt /*:EnDeclarationSplit* +:EnDocBrowse ensime.txt /*:EnDocBrowse* +:EnInline ensime.txt /*:EnInline* +:EnInspectType ensime.txt /*:EnInspectType* +:EnInstall ensime.txt /*:EnInstall* +:EnOrganizeImports ensime.txt /*:EnOrganizeImports* +:EnRename ensime.txt /*:EnRename* +:EnSearch ensime.txt /*:EnSearch* +:EnShowPackage ensime.txt /*:EnShowPackage* +:EnSuggestImport ensime.txt /*:EnSuggestImport* +:EnSymbol ensime.txt /*:EnSymbol* +:EnToggleFullType ensime.txt /*:EnToggleFullType* +:EnType ensime.txt /*:EnType* +:EnTypeCheck ensime.txt /*:EnTypeCheck* +:EnUsages ensime.txt /*:EnUsages* :GoAddTags vim-go.txt /*:GoAddTags* +:GoAddWorkspace vim-go.txt /*:GoAddWorkspace* :GoAlternate vim-go.txt /*:GoAlternate* :GoAsmFmtAutoSaveToggle vim-go.txt /*:GoAsmFmtAutoSaveToggle* :GoAutoTypeInfoToggle vim-go.txt /*:GoAutoTypeInfoToggle* @@ -246,6 +267,7 @@ :Grepper-stop grepper.txt /*:Grepper-stop* :Grepper-switch grepper.txt /*:Grepper-switch* :Grepper-tool grepper.txt /*:Grepper-tool* +:Shdo dirvish.txt /*:Shdo* :TsuAsyncGeterr tsuquyomi.txt /*:TsuAsyncGeterr* :TsuClose tsuquyomi.txt /*:TsuClose* :TsuDefinition tsuquyomi.txt /*:TsuDefinition* @@ -304,6 +326,10 @@ (TsuquyomiSignatureHelp) tsuquyomi.txt /*(TsuquyomiSignatureHelp)* (TsuquyomiSplitDefinition) tsuquyomi.txt /*(TsuquyomiSplitDefinition)* (TsuquyomiTypeDefinition) tsuquyomi.txt /*(TsuquyomiTypeDefinition)* +EnCompleteFunc() ensime.txt /*EnCompleteFunc()* +FugitiveHead(...) fugitive.txt /*FugitiveHead(...)* +FugitiveStatusline() fugitive.txt /*FugitiveStatusline()* +Z! dirvish.txt /*Z!* add_inactive_statusline_func airline.txt /*add_inactive_statusline_func* add_statusline_func airline.txt /*add_statusline_func* airline airline.txt /*airline* @@ -373,199 +399,20 @@ airline-xtabline airline.txt /*airline-xtabline* airline-ycm airline.txt /*airline-ycm* airline.txt airline.txt /*airline.txt* b:grepper grepper.txt /*b:grepper* -denite denite.txt /*denite* -denite#call_map() denite.txt /*denite#call_map()* -denite#custom#action() denite.txt /*denite#custom#action()* -denite#custom#alias() denite.txt /*denite#custom#alias()* -denite#custom#filter() denite.txt /*denite#custom#filter()* -denite#custom#kind() denite.txt /*denite#custom#kind()* -denite#custom#option() denite.txt /*denite#custom#option()* -denite#custom#source() denite.txt /*denite#custom#source()* -denite#custom#var() denite.txt /*denite#custom#var()* -denite#do_action() denite.txt /*denite#do_action()* -denite#do_map() denite.txt /*denite#do_map()* -denite#get_status() denite.txt /*denite#get_status()* -denite#initialize() denite.txt /*denite#initialize()* -denite#start() denite.txt /*denite#start()* -denite-candidate-attribute-abbr denite.txt /*denite-candidate-attribute-abbr* -denite-candidate-attribute-name denite.txt /*denite-candidate-attribute-name* -denite-candidate-attributes denite.txt /*denite-candidate-attributes* -denite-commands denite.txt /*denite-commands* -denite-compatibility denite.txt /*denite-compatibility* -denite-contents denite.txt /*denite-contents* -denite-create-filter denite.txt /*denite-create-filter* -denite-create-kind denite.txt /*denite-create-kind* -denite-create-source denite.txt /*denite-create-source* denite-decls vim-go.txt /*denite-decls* -denite-deoplete-sources denite.txt /*denite-deoplete-sources* -denite-examples denite.txt /*denite-examples* -denite-external-sources denite.txt /*denite-external-sources* -denite-faq denite.txt /*denite-faq* -denite-filter-attribute-__init__ denite.txt /*denite-filter-attribute-__init__* -denite-filter-attribute-filter denite.txt /*denite-filter-attribute-filter* -denite-filter-attribute-name denite.txt /*denite-filter-attribute-name* -denite-filter-attributes denite.txt /*denite-filter-attributes* -denite-filter-converter/abbr_word denite.txt /*denite-filter-converter\/abbr_word* -denite-filter-converter/relative_abbr denite.txt /*denite-filter-converter\/relative_abbr* -denite-filter-converter/relative_word denite.txt /*denite-filter-converter\/relative_word* -denite-filter-default-key-mappings denite.txt /*denite-filter-default-key-mappings* -denite-filter-key-mappings denite.txt /*denite-filter-key-mappings* -denite-filter-matcher/cpsm denite.txt /*denite-filter-matcher\/cpsm* -denite-filter-matcher/fuzzy denite.txt /*denite-filter-matcher\/fuzzy* -denite-filter-matcher/hide_hidden_files denite.txt /*denite-filter-matcher\/hide_hidden_files* -denite-filter-matcher/ignore_current_buffer denite.txt /*denite-filter-matcher\/ignore_current_buffer* -denite-filter-matcher/ignore_globs denite.txt /*denite-filter-matcher\/ignore_globs* -denite-filter-matcher/project_files denite.txt /*denite-filter-matcher\/project_files* -denite-filter-matcher/regexp denite.txt /*denite-filter-matcher\/regexp* -denite-filter-matcher/substring denite.txt /*denite-filter-matcher\/substring* -denite-filter-sorter/rank denite.txt /*denite-filter-sorter\/rank* -denite-filter-sorter/reverse denite.txt /*denite-filter-sorter\/reverse* -denite-filter-sorter/sublime denite.txt /*denite-filter-sorter\/sublime* -denite-filter-sorter/word denite.txt /*denite-filter-sorter\/word* -denite-filters denite.txt /*denite-filters* -denite-functions denite.txt /*denite-functions* -denite-install denite.txt /*denite-install* -denite-interface denite.txt /*denite-interface* -denite-introduction denite.txt /*denite-introduction* -denite-key-mappings denite.txt /*denite-key-mappings* -denite-kind-attribute-__init__ denite.txt /*denite-kind-attribute-__init__* -denite-kind-attribute-action_ denite.txt /*denite-kind-attribute-action_* -denite-kind-attribute-default_action denite.txt /*denite-kind-attribute-default_action* -denite-kind-attribute-name denite.txt /*denite-kind-attribute-name* -denite-kind-attribute-persist_actions denite.txt /*denite-kind-attribute-persist_actions* -denite-kind-attribute-redraw_actions denite.txt /*denite-kind-attribute-redraw_actions* -denite-kind-attributes denite.txt /*denite-kind-attributes* -denite-kind-buffer denite.txt /*denite-kind-buffer* -denite-kind-buffer-actions denite.txt /*denite-kind-buffer-actions* -denite-kind-command denite.txt /*denite-kind-command* -denite-kind-command-actions denite.txt /*denite-kind-command-actions* -denite-kind-directory denite.txt /*denite-kind-directory* -denite-kind-directory-actions denite.txt /*denite-kind-directory-actions* -denite-kind-file denite.txt /*denite-kind-file* -denite-kind-file-actions denite.txt /*denite-kind-file-actions* -denite-kind-openable denite.txt /*denite-kind-openable* -denite-kind-openable-actions denite.txt /*denite-kind-openable-actions* -denite-kind-source denite.txt /*denite-kind-source* -denite-kind-source-actions denite.txt /*denite-kind-source-actions* -denite-kind-word denite.txt /*denite-kind-word* -denite-kind-word-actions denite.txt /*denite-kind-word-actions* -denite-kinds denite.txt /*denite-kinds* -denite-map-(denite_filter_quit) denite.txt /*denite-map-(denite_filter_quit)* -denite-map-(denite_filter_update) denite.txt /*denite-map-(denite_filter_update)* -denite-map-change_sorters denite.txt /*denite-map-change_sorters* -denite-map-choose_action denite.txt /*denite-map-choose_action* -denite-map-do_action denite.txt /*denite-map-do_action* -denite-map-do_previous_action denite.txt /*denite-map-do_previous_action* -denite-map-filter denite.txt /*denite-map-filter* -denite-map-i_(denite_filter_quit) denite.txt /*denite-map-i_(denite_filter_quit)* -denite-map-i_(denite_filter_update) denite.txt /*denite-map-i_(denite_filter_update)* -denite-map-move_up_path denite.txt /*denite-map-move_up_path* -denite-map-nop denite.txt /*denite-map-nop* -denite-map-open_filter_buffer denite.txt /*denite-map-open_filter_buffer* -denite-map-print_messages denite.txt /*denite-map-print_messages* -denite-map-quick_move denite.txt /*denite-map-quick_move* -denite-map-quit denite.txt /*denite-map-quit* -denite-map-redraw denite.txt /*denite-map-redraw* -denite-map-restart denite.txt /*denite-map-restart* -denite-map-restore_sources denite.txt /*denite-map-restore_sources* -denite-map-toggle_matchers denite.txt /*denite-map-toggle_matchers* -denite-map-toggle_select denite.txt /*denite-map-toggle_select* -denite-map-toggle_select_all denite.txt /*denite-map-toggle_select_all* -denite-notation-{context} denite.txt /*denite-notation-{context}* -denite-option-auto-action denite.txt /*denite-option-auto-action* -denite-option-auto-resize denite.txt /*denite-option-auto-resize* -denite-option-auto-resume denite.txt /*denite-option-auto-resume* -denite-option-buffer-name denite.txt /*denite-option-buffer-name* -denite-option-cursor-pos denite.txt /*denite-option-cursor-pos* -denite-option-default-action denite.txt /*denite-option-default-action* -denite-option-direction denite.txt /*denite-option-direction* -denite-option-do denite.txt /*denite-option-do* -denite-option-empty denite.txt /*denite-option-empty* -denite-option-expand denite.txt /*denite-option-expand* -denite-option-filter-split-direction denite.txt /*denite-option-filter-split-direction* -denite-option-filter-updatetime denite.txt /*denite-option-filter-updatetime* -denite-option-highlight-filter-background denite.txt /*denite-option-highlight-filter-background* -denite-option-highlight-matched-char denite.txt /*denite-option-highlight-matched-char* -denite-option-highlight-matched-range denite.txt /*denite-option-highlight-matched-range* -denite-option-highlight-preview-line denite.txt /*denite-option-highlight-preview-line* -denite-option-highlight-prompt denite.txt /*denite-option-highlight-prompt* -denite-option-highlight-window-background denite.txt /*denite-option-highlight-window-background* -denite-option-ignorecase denite.txt /*denite-option-ignorecase* -denite-option-immediately denite.txt /*denite-option-immediately* -denite-option-immediately-1 denite.txt /*denite-option-immediately-1* -denite-option-input denite.txt /*denite-option-input* -denite-option-matchers denite.txt /*denite-option-matchers* -denite-option-max-candidate-width denite.txt /*denite-option-max-candidate-width* -denite-option-max-dynamic-update-candidates denite.txt /*denite-option-max-dynamic-update-candidates* -denite-option-no- denite.txt /*denite-option-no-* -denite-option-path denite.txt /*denite-option-path* -denite-option-post-action denite.txt /*denite-option-post-action* -denite-option-prompt denite.txt /*denite-option-prompt* -denite-option-quick-move denite.txt /*denite-option-quick-move* -denite-option-quick-move-table denite.txt /*denite-option-quick-move-table* -denite-option-refresh denite.txt /*denite-option-refresh* -denite-option-resume denite.txt /*denite-option-resume* -denite-option-reversed denite.txt /*denite-option-reversed* -denite-option-root-markers denite.txt /*denite-option-root-markers* -denite-option-smartcase denite.txt /*denite-option-smartcase* -denite-option-sorters denite.txt /*denite-option-sorters* -denite-option-source-names denite.txt /*denite-option-source-names* -denite-option-split denite.txt /*denite-option-split* -denite-option-start-filter denite.txt /*denite-option-start-filter* -denite-option-statusline denite.txt /*denite-option-statusline* -denite-option-unique denite.txt /*denite-option-unique* -denite-option-vertical-preview denite.txt /*denite-option-vertical-preview* -denite-option-wincol denite.txt /*denite-option-wincol* -denite-option-winheight denite.txt /*denite-option-winheight* -denite-option-winminheight denite.txt /*denite-option-winminheight* -denite-option-winrow denite.txt /*denite-option-winrow* -denite-option-winwidth denite.txt /*denite-option-winwidth* -denite-options denite.txt /*denite-options* -denite-source-attribute-__ denite.txt /*denite-source-attribute-__* -denite-source-attribute-__init__ denite.txt /*denite-source-attribute-__init__* -denite-source-attribute-converters denite.txt /*denite-source-attribute-converters* -denite-source-attribute-define-syntax denite.txt /*denite-source-attribute-define-syntax* -denite-source-attribute-gather_candidates denite.txt /*denite-source-attribute-gather_candidates* -denite-source-attribute-get_status denite.txt /*denite-source-attribute-get_status* -denite-source-attribute-highlight denite.txt /*denite-source-attribute-highlight* -denite-source-attribute-is_public_context denite.txt /*denite-source-attribute-is_public_context* -denite-source-attribute-is_volatile denite.txt /*denite-source-attribute-is_volatile* -denite-source-attribute-kind denite.txt /*denite-source-attribute-kind* -denite-source-attribute-matchers denite.txt /*denite-source-attribute-matchers* -denite-source-attribute-max_candidates denite.txt /*denite-source-attribute-max_candidates* -denite-source-attribute-name denite.txt /*denite-source-attribute-name* -denite-source-attribute-on_close denite.txt /*denite-source-attribute-on_close* -denite-source-attribute-on_init denite.txt /*denite-source-attribute-on_init* -denite-source-attribute-sorters denite.txt /*denite-source-attribute-sorters* -denite-source-attribute-syntax_name denite.txt /*denite-source-attribute-syntax_name* -denite-source-attributes denite.txt /*denite-source-attributes* -denite-source-buffer denite.txt /*denite-source-buffer* -denite-source-change denite.txt /*denite-source-change* -denite-source-colorscheme denite.txt /*denite-source-colorscheme* -denite-source-command denite.txt /*denite-source-command* -denite-source-command-history denite.txt /*denite-source-command-history* -denite-source-directory_rec denite.txt /*denite-source-directory_rec* -denite-source-file denite.txt /*denite-source-file* -denite-source-file/old denite.txt /*denite-source-file\/old* -denite-source-file/point denite.txt /*denite-source-file\/point* -denite-source-file/rec denite.txt /*denite-source-file\/rec* -denite-source-filetype denite.txt /*denite-source-filetype* -denite-source-grep denite.txt /*denite-source-grep* -denite-source-help denite.txt /*denite-source-help* -denite-source-jump denite.txt /*denite-source-jump* -denite-source-line denite.txt /*denite-source-line* -denite-source-mark denite.txt /*denite-source-mark* -denite-source-menu denite.txt /*denite-source-menu* -denite-source-outline denite.txt /*denite-source-outline* -denite-source-output denite.txt /*denite-source-output* -denite-source-register denite.txt /*denite-source-register* -denite-source-source denite.txt /*denite-source-source* -denite-source-spell denite.txt /*denite-source-spell* -denite-source-tag denite.txt /*denite-source-tag* -denite-sources denite.txt /*denite-sources* -denite-usage denite.txt /*denite-usage* -denite.txt denite.txt /*denite.txt* -denite.vim denite.txt /*denite.vim* +dirvish dirvish.txt /*dirvish* +dirvish#add_icon_fn() dirvish.txt /*dirvish#add_icon_fn()* +dirvish#open() dirvish.txt /*dirvish#open()* +dirvish#remove_icon_fn() dirvish.txt /*dirvish#remove_icon_fn()* +dirvish-:Dirvish dirvish.txt /*dirvish-:Dirvish* +dirvish-:Shdo dirvish.txt /*dirvish-:Shdo* +dirvish-Z! dirvish.txt /*dirvish-Z!* +dirvish-commands dirvish.txt /*dirvish-commands* +dirvish-faq dirvish.txt /*dirvish-faq* +dirvish-functions dirvish.txt /*dirvish-functions* +dirvish-mappings dirvish.txt /*dirvish-mappings* +dirvish-options dirvish.txt /*dirvish-options* +dirvish.txt dirvish.txt /*dirvish.txt* editorconfig editorconfig.txt /*editorconfig* editorconfig#load() editorconfig.txt /*editorconfig#load()* editorconfig-changelog editorconfig.txt /*editorconfig-changelog* @@ -578,10 +425,120 @@ editorconfig-introduction editorconfig.txt /*editorconfig-introduction* editorconfig-properties editorconfig.txt /*editorconfig-properties* editorconfig-usage editorconfig.txt /*editorconfig-usage* editorconfig.txt editorconfig.txt /*editorconfig.txt* +ensime ensime.txt /*ensime* +ensime-bootstrap ensime.txt /*ensime-bootstrap* +ensime-build-tools ensime.txt /*ensime-build-tools* +ensime-commands ensime.txt /*ensime-commands* +ensime-configuration ensime.txt /*ensime-configuration* +ensime-contents ensime.txt /*ensime-contents* +ensime-cookbook ensime.txt /*ensime-cookbook* +ensime-custom-browser ensime.txt /*ensime-custom-browser* +ensime-debugger ensime.txt /*ensime-debugger* +ensime-debugger-commands ensime.txt /*ensime-debugger-commands* +ensime-dot-ensime ensime.txt /*ensime-dot-ensime* +ensime-function-api ensime.txt /*ensime-function-api* +ensime-getting-started ensime.txt /*ensime-getting-started* +ensime-introduction ensime.txt /*ensime-introduction* +ensime-mappings ensime.txt /*ensime-mappings* +ensime-package-inspector ensime.txt /*ensime-package-inspector* +ensime-refactoring-commands ensime.txt /*ensime-refactoring-commands* +ensime-server ensime.txt /*ensime-server* +ensime-status ensime.txt /*ensime-status* +ensime-syntax ensime.txt /*ensime-syntax* +ensime-troubleshooting-faq ensime.txt /*ensime-troubleshooting-faq* +ensime-usage ensime.txt /*ensime-usage* +ensime.txt ensime.txt /*ensime.txt* ft-go-syntax vim-go.txt /*ft-go-syntax* ft-gohtmltmpl-syntax vim-go.txt /*ft-gohtmltmpl-syntax* ft-gomod-syntax vim-go.txt /*ft-gomod-syntax* ft-gotexttmpl-syntax vim-go.txt /*ft-gotexttmpl-syntax* +fugitive fugitive.txt /*fugitive* +fugitive#head(...) fugitive.txt /*fugitive#head(...)* +fugitive#statusline() fugitive.txt /*fugitive#statusline()* +fugitive-:G fugitive.txt /*fugitive-:G* +fugitive-:Gblame fugitive.txt /*fugitive-:Gblame* +fugitive-:Gbrowse fugitive.txt /*fugitive-:Gbrowse* +fugitive-:Gcd fugitive.txt /*fugitive-:Gcd* +fugitive-:Gcommit fugitive.txt /*fugitive-:Gcommit* +fugitive-:Gdelete fugitive.txt /*fugitive-:Gdelete* +fugitive-:Gdiff fugitive.txt /*fugitive-:Gdiff* +fugitive-:Ge fugitive.txt /*fugitive-:Ge* +fugitive-:Gedit fugitive.txt /*fugitive-:Gedit* +fugitive-:Gfetch fugitive.txt /*fugitive-:Gfetch* +fugitive-:Ggrep fugitive.txt /*fugitive-:Ggrep* +fugitive-:Git fugitive.txt /*fugitive-:Git* +fugitive-:Git! fugitive.txt /*fugitive-:Git!* +fugitive-:Glcd fugitive.txt /*fugitive-:Glcd* +fugitive-:Glgrep fugitive.txt /*fugitive-:Glgrep* +fugitive-:Gllog fugitive.txt /*fugitive-:Gllog* +fugitive-:Glog fugitive.txt /*fugitive-:Glog* +fugitive-:Gmerge fugitive.txt /*fugitive-:Gmerge* +fugitive-:Gmove fugitive.txt /*fugitive-:Gmove* +fugitive-:Gpedit fugitive.txt /*fugitive-:Gpedit* +fugitive-:Gpedit! fugitive.txt /*fugitive-:Gpedit!* +fugitive-:Gpull fugitive.txt /*fugitive-:Gpull* +fugitive-:Gpush fugitive.txt /*fugitive-:Gpush* +fugitive-:Gread fugitive.txt /*fugitive-:Gread* +fugitive-:Gread! fugitive.txt /*fugitive-:Gread!* +fugitive-:Grebase fugitive.txt /*fugitive-:Grebase* +fugitive-:Gremove fugitive.txt /*fugitive-:Gremove* +fugitive-:Grename fugitive.txt /*fugitive-:Grename* +fugitive-:Gsdiff fugitive.txt /*fugitive-:Gsdiff* +fugitive-:Gsplit fugitive.txt /*fugitive-:Gsplit* +fugitive-:Gsplit! fugitive.txt /*fugitive-:Gsplit!* +fugitive-:Gstatus fugitive.txt /*fugitive-:Gstatus* +fugitive-:Gtabedit fugitive.txt /*fugitive-:Gtabedit* +fugitive-:Gtabedit! fugitive.txt /*fugitive-:Gtabedit!* +fugitive-:Gvdiff fugitive.txt /*fugitive-:Gvdiff* +fugitive-:Gvsplit fugitive.txt /*fugitive-:Gvsplit* +fugitive-:Gvsplit! fugitive.txt /*fugitive-:Gvsplit!* +fugitive-:Gw fugitive.txt /*fugitive-:Gw* +fugitive-:Gwq fugitive.txt /*fugitive-:Gwq* +fugitive-:Gwrite fugitive.txt /*fugitive-:Gwrite* +fugitive-about fugitive.txt /*fugitive-about* +fugitive-commands fugitive.txt /*fugitive-commands* +fugitive-global-mappings fugitive.txt /*fugitive-global-mappings* +fugitive-mappings fugitive.txt /*fugitive-mappings* +fugitive-misc-mappings fugitive.txt /*fugitive-misc-mappings* +fugitive-navigation-mappings fugitive.txt /*fugitive-navigation-mappings* +fugitive-object fugitive.txt /*fugitive-object* +fugitive-revision fugitive.txt /*fugitive-revision* +fugitive-staging-mappings fugitive.txt /*fugitive-staging-mappings* +fugitive-statusline fugitive.txt /*fugitive-statusline* +fugitive.txt fugitive.txt /*fugitive.txt* +fugitive_- fugitive.txt /*fugitive_-* +fugitive_. fugitive.txt /*fugitive_.* +fugitive_< fugitive.txt /*fugitive_<* +fugitive_ fugitive.txt /*fugitive_* +fugitive_= fugitive.txt /*fugitive_=* +fugitive_> fugitive.txt /*fugitive_>* +fugitive_C fugitive.txt /*fugitive_C* +fugitive_CTRL-N fugitive.txt /*fugitive_CTRL-N* +fugitive_CTRL-P fugitive.txt /*fugitive_CTRL-P* +fugitive_CTRL-W_C fugitive.txt /*fugitive_CTRL-W_C* +fugitive_O fugitive.txt /*fugitive_O* +fugitive_P fugitive.txt /*fugitive_P* +fugitive_R fugitive.txt /*fugitive_R* +fugitive_X fugitive.txt /*fugitive_X* +fugitive_c fugitive.txt /*fugitive_c* +fugitive_c_CTRL-R_CTRL-G fugitive.txt /*fugitive_c_CTRL-R_CTRL-G* +fugitive_dd fugitive.txt /*fugitive_dd* +fugitive_dp fugitive.txt /*fugitive_dp* +fugitive_ds fugitive.txt /*fugitive_ds* +fugitive_dv fugitive.txt /*fugitive_dv* +fugitive_g? fugitive.txt /*fugitive_g?* +fugitive_gO fugitive.txt /*fugitive_gO* +fugitive_gq fugitive.txt /*fugitive_gq* +fugitive_i fugitive.txt /*fugitive_i* +fugitive_o fugitive.txt /*fugitive_o* +fugitive_q fugitive.txt /*fugitive_q* +fugitive_r fugitive.txt /*fugitive_r* +fugitive_s fugitive.txt /*fugitive_s* +fugitive_u fugitive.txt /*fugitive_u* +fugitive_y_CTRL-G fugitive.txt /*fugitive_y_CTRL-G* +fugitive_~ fugitive.txt /*fugitive_~* +g:dirvish_mode dirvish.txt /*g:dirvish_mode* +g:dirvish_relative_paths dirvish.txt /*g:dirvish_relative_paths* g:editorconfig_blacklist editorconfig.txt /*g:editorconfig_blacklist* g:editorconfig_root_chdir editorconfig.txt /*g:editorconfig_root_chdir* g:grepper grepper.txt /*g:grepper* diff --git a/init.vim b/init.vim index ce409cd..15434b1 100644 --- a/init.vim +++ b/init.vim @@ -1,5 +1,15 @@ " vim: set et sw=2 ts=2 tw=80 : +" FILE MANAGER + +" Override netrw commands with Dirvish +let g:loaded_netrwPlugin = 1 +command! -nargs=? -complete=dir Explore Dirvish +command! -nargs=? -complete=dir Sexplore belowright split | silent Dirvish +command! -nargs=? -complete=dir Vexplore leftabove vsplit | silent Dirvish + +let g:dirvish_mode = ':sort ,^.*[\/],' + " SETTINGS if !has('nvim') @@ -45,24 +55,19 @@ set autoindent set path+=** set wildignore+=**/node_modules/**,*~ -" set netrw preferred style to tree -let g:netrw_liststyle = 3 - -" remove netrw top banner -let g:netrw_banner = 0 - -let g:netrw_list_hide = netrw_gitignore#Hide() - " ADDITIONAL COMMANDS -function! WQ() - :W - :quit -endfunction - command! Q quit -command! W write suda://% -command! WQ call WQ() +command! W write +command! WQ wq + +command! WW write suda://% + +command! D call CreateDir() + +function! CreateDir() + !mkdir -p '%:p:h' +endfunction " emulate system clipboard inoremap "+pa @@ -109,6 +114,7 @@ noremap :let @/ = "" " Use "," as leader let mapleader = "," +let maplocaleader = " " " Git grep with Leader g nnoremap g :Grepper -tool git @@ -117,10 +123,10 @@ nnoremap g :Grepper -tool git nnoremap w " show next buffer with: leader n -nnoremap n :bn +nnoremap n :bn " show previous buffer with: leader n -nnoremap p :bp +nnoremap p :bp " Fix indentation with: Leader i nnoremap i mzgg=G`z @@ -130,11 +136,9 @@ nnoremap d :bp\|bd # " move to next tab with: Leader t nnoremap t :tabnext +nnoremap T :tabprevious tnoremap :tabnext -silent! unmap I -nnoremap I WildignoreFromGitignore - " clear trailing spaces in file function! g:ClearTrailingSpaces() silent! %s/\s\s*$//g @@ -183,6 +187,11 @@ filetype plugin indent on " Set up :make to use fish for syntax checking. autocmd FileType fish compiler fish +" ensime-vim setup +autocmd BufWritePost *.scala silent :EnTypeCheck +nnoremap t :EnType + + if has("vms") set nobackup " do not keep a backup file, use versions instead else diff --git a/opt b/opt new file mode 120000 index 0000000..2eba231 --- /dev/null +++ b/opt @@ -0,0 +1 @@ +/home/claudio/.config/nvim/pack/plugins/opt/ \ No newline at end of file diff --git a/pack/plugins/start/denite.nvim b/pack/plugins/start/denite.nvim deleted file mode 160000 index 2b884d5..0000000 --- a/pack/plugins/start/denite.nvim +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 2b884d5d990539fe25b44398146645dafc8ffa49 diff --git a/pack/plugins/start/ensime-vim b/pack/plugins/start/ensime-vim new file mode 160000 index 0000000..caa734e --- /dev/null +++ b/pack/plugins/start/ensime-vim @@ -0,0 +1 @@ +Subproject commit caa734e84f002b25446c615706283a74edd4ecfe diff --git a/pack/plugins/start/gitignore.vim b/pack/plugins/start/gitignore.vim new file mode 160000 index 0000000..9c5d51b --- /dev/null +++ b/pack/plugins/start/gitignore.vim @@ -0,0 +1 @@ +Subproject commit 9c5d51b86bba0d3e70fa5d9ebd7c928bcdd22519 diff --git a/pack/plugins/start/vim-dirvish b/pack/plugins/start/vim-dirvish new file mode 160000 index 0000000..5a51bf3 --- /dev/null +++ b/pack/plugins/start/vim-dirvish @@ -0,0 +1 @@ +Subproject commit 5a51bf3d52054990beef3221ec3a03d4ea9188e3 diff --git a/pack/plugins/start/vim-fugitive b/pack/plugins/start/vim-fugitive new file mode 160000 index 0000000..9c195de --- /dev/null +++ b/pack/plugins/start/vim-fugitive @@ -0,0 +1 @@ +Subproject commit 9c195de61bac489dfd88a55eb457113a07a21729 diff --git a/pack/plugins/start/vim-go b/pack/plugins/start/vim-go index b6a0bde..7aa035a 160000 --- a/pack/plugins/start/vim-go +++ b/pack/plugins/start/vim-go @@ -1 +1 @@ -Subproject commit b6a0bde7d4c64a063ea1b6365e3dd24e2d4f4df1 +Subproject commit 7aa035a7d2eaa47c472c24f810225e949f3cd90d