Last active
March 8, 2023 14:23
-
-
Save krisleech/1229ea028ad58c6dbd76c9bca4abb1e2 to your computer and use it in GitHub Desktop.
vimrc for IDEAvim plugin for IntelliJ IDEA IDE with Cursive plugin. #clojure #vim
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set surround | |
set hlsearch | |
set scrolloff=3 | |
set ignorecase smartcase | |
set showmode | |
set history=1000 | |
set relativenumber | |
set number | |
let mapleader = "," | |
map <space> ? | |
imap jj <Esc> | |
map === :action ReformatCode<CR> | |
nnoremap <c-h> <c-w>h | |
nnoremap <c-l> <c-w>l | |
nnoremap <c-k> <c-w>k | |
nnoremap <c-j> <c-w>j | |
nmap <leader>f :action GotoFile<CR> | |
nmap <leader>R :action :cursive.repl.actions/load-file<CR> | |
nmap <leader>r :action :cursive.repl.actions/run-top-sexp<CR> | |
nmap <leader>gr :action :cursive.repl.actions/jump-to-repl<CR> | |
nmap <leader>d :action CloseEditor<CR> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cursive.actions.paredit/backward <C-Left> | |
:cursive.actions.paredit/backward-down | |
:cursive.actions.paredit/backward-up | |
:cursive.actions.paredit/barf-backwards <A-C-K> | |
:cursive.actions.paredit/barf-forwards <A-S-J> | |
:cursive.actions.paredit/clojure-edit-group | |
:cursive.actions.paredit/clojure-navigate-group | |
:cursive.actions.paredit/close-curly-and-newline <C-S-]> | |
:cursive.actions.paredit/close-paren-and-newline <C-S-0> | |
:cursive.actions.paredit/close-square-and-newline <C-]> | |
:cursive.actions.paredit/copy-as-kill <A-S-D> | |
:cursive.actions.paredit/cycle-collection-type | |
:cursive.actions.paredit/forward <C-Right> | |
:cursive.actions.paredit/forward-down | |
:cursive.actions.paredit/forward-up | |
:cursive.actions.paredit/join <C-S-S> | |
:cursive.actions.paredit/kill <A-D> | |
:cursive.actions.paredit/kill-sexp <A-C-D> | |
:cursive.actions.paredit/move-form-down <C-S-Down> | |
:cursive.actions.paredit/move-form-up <C-S-Up> | |
:cursive.actions.paredit/raise <A-R> | |
:cursive.actions.paredit/slurp-backwards <A-C-J> | |
:cursive.actions.paredit/slurp-forwards <A-S-K> | |
:cursive.actions.paredit/splice <A-S> | |
:cursive.actions.paredit/splice-killing-backwards | |
:cursive.actions.paredit/splice-killing-forwards | |
:cursive.actions.paredit/split <A-S-S> | |
:cursive.actions.paredit/thread-form <A-C-,> | |
:cursive.actions.paredit/toggle | |
:cursive.actions.paredit/unthread-form <A-C-.> | |
:cursive.actions.paredit/wrap-curly <C-S-[> | |
:cursive.actions.paredit/wrap-paren <C-S-9> | |
:cursive.actions.paredit/wrap-quotes <C-S-Þ> | |
:cursive.actions.paredit/wrap-square <C-[> | |
:cursive.editor.actions/show-type <A-=> | |
:cursive.extensions.clojure.core.typed.actions/type-check-ns | |
:cursive.repl.actions/clear-repl | |
:cursive.repl.actions/clojure-repl-commands-group | |
:cursive.repl.actions/clojure-repl-group | |
:cursive.repl.actions/interrupt | |
:cursive.repl.actions/jump-to-output | |
:cursive.repl.actions/jump-to-repl <C-\> | |
:cursive.repl.actions/load-file <A-S-L> | |
:cursive.repl.actions/macroexpansion <C-S-\> | |
:cursive.repl.actions/next-history-item <C-Down> | |
:cursive.repl.actions/prev-history-item <C-Up> | |
:cursive.repl.actions/print-exception | |
:cursive.repl.actions/run-last-sexp | |
:cursive.repl.actions/run-top-sexp <A-S-P> | |
:cursive.repl.actions/search-history <A-C-E> | |
:cursive.repl.actions/switch-namespace <A-S-R> | |
:cursive.repl.actions/sync-files <A-S-M> | |
:cursive.repl.commands/add-new | |
:cursive.repl.commands/edit | |
:cursive.testing.actions/remove-test-markers | |
:cursive.testing.actions/rerun-last-test | |
:cursive.testing.actions/run-ns-tests | |
:cursive.testing.actions/run-single-test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment