From 9077f13f9a065d6cbc3821010fbd3ebc1922e93b Mon Sep 17 00:00:00 2001 From: kkard2 Date: Sat, 26 Aug 2023 11:48:06 +0200 Subject: i have an idea --- idea/.ideavimrc | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/idea/.ideavimrc b/idea/.ideavimrc index 7b93851..b517baf 100644 --- a/idea/.ideavimrc +++ b/idea/.ideavimrc @@ -1,3 +1,8 @@ +call plug#begin() +Plug 'tpope/vim-surround' +Plug 'tpope/vim-commentary' +call plug#end() + let mapleader = ' ' " how do you even vim without this @@ -15,11 +20,12 @@ set smartindent set wrap=false " highlight all search results while searching (i think) -set incsearch +set incsearc " this is cool, J actually works set ideajoin +nnoremap xif\ " i want to try this nnoremap ; : @@ -39,10 +45,10 @@ nmap fx (HideAllWindows) " lsp ig? nmap lr (RenameElement) - -" tabs -nmap j (NextTab) -nmap k (PreviousTab) +nmap lf (ReformatCode) +nmap (GotoNextError) +nmap (GotoPreviousError) +nmap gh (ShowErrorDescription) " system clipboard nnoremap p "+p @@ -78,21 +84,16 @@ nmap ,cd (ContextDebug) nmap ,s (Stop) nmap ,t (RiderUnitTestRunSolutionAction) nmap ,f (RiderUnitTestRerunBrokenSplitAction) -nmap ,o (ReformatCode) " ide stuff nmap (ShowIntentionActions) -nmap (GotoClass) +nmap (GotoFile) nmap a (GotoAction) " goto is a bad language feature nmap gd (GotoDeclaration) nmap gi (GotoImplementation) nmap gr (FindUsages) -nmap gh (QuickJavaDoc) -nmap ge (GotoNextError) -nmap gE (GotoPreviousError) -nmap gj (ShowErrorDescription) " debugging nmap \b (ToggleLineBreakpoint) -- cgit v1.3.1