# HG changeset patch # User Steve Losh # Date 1678829179 14400 # Node ID 7da8a8457fd1ee7898d9e0d45580592a79b920bb # Parent a144ab99193b74a795f6d289d3893237401fee12 More diff -r a144ab99193b -r 7da8a8457fd1 vim/vimrc --- a/vim/vimrc Tue Mar 14 17:17:40 2023 -0400 +++ b/vim/vimrc Tue Mar 14 17:26:19 2023 -0400 @@ -402,9 +402,6 @@ nnoremap :%s/ vnoremap :s/ -" HTML tag closing -inoremap :call InsertCloseTag()a - " Marks and Quotes noremap ' ` noremap æ ' @@ -429,9 +426,6 @@ " Unfuck my screen nnoremap U :syntax sync fromstart:redraw! -" Open current directory in Finder -nnoremap O :!open . - " Zip Right " " Moves the character under the cursor to the end of the line. Handy when you @@ -840,47 +834,6 @@ augroup END " }}} -" Clojure {{{ - -" extra folding {{{ -let g:clojure_fold_extra = [ - \ 'defgauge', - \ 'defsketch' - \ - \ ] -" }}} - -augroup ft_clojure - au! - - au BufNewFile,BufRead *.edn set filetype=clojure - - au FileType clojure silent! call TurnOnClojureFolding() - au FileType clojure compiler clojure - au FileType clojure setlocal isk-=. - - au FileType clojure iabbrev defun defn - - " Things that should be indented 2-spaced - au FileType clojure setlocal lispwords+=when-found,defform,when-valid,try,while-let,try+,throw+ - - au FileType clojure RainbowParenthesesActivate - au syntax clojure RainbowParenthesesLoadRound - - " Paredit - au FileType clojure call EnableParedit() - au FileType clojure nnoremap ( :call PareditToggle() - " ) - - " Duplicate - au FileType clojure nnoremap [] :call DuplicateLispForm() - - " Indent top-level form. - au FileType clojure nmap gi mz99[(v%='z - -augroup END - -" }}} " Common Lisp {{{ " Helper Functions {{{ @@ -2976,55 +2929,7 @@ if has('gui_running') " GUI Vim - - set guifont=Menlo\ Regular\ for\ Powerline:h12 - - " Remove all the UI cruft - set go-=T - set go-=l - set go-=L - set go-=r - set go-=R - - highlight SpellBad term=underline gui=undercurl guisp=Orange - - " Different cursors for different modes. - set guicursor=n-c:block-Cursor-blinkon0 - set guicursor+=v:block-vCursor-blinkon0 - set guicursor+=i-ci:ver20-iCursor - - if has("gui_macvim") - " Full screen means FULL screen - set fuoptions=maxvert,maxhorz - - " Use the normal HIG movements, except for M-Up/Down - let macvim_skip_cmd_opt_movement = 1 - no - no! - no - no! - - no - no! - no - no! - - no - ino - imap { - - no - ino - imap } - - imap - inoremap my0c`y - else - " Non-MacVim GUI, like Gvim - end else - " Console Vim - " Mouse support set mouse=a endif