--- 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 <c-s> :%s/
vnoremap <c-s> :s/
-" HTML tag closing
-inoremap <C-_> <space><bs><esc>:call InsertCloseTag()<cr>a
-
" Marks and Quotes
noremap ' `
noremap æ '
@@ -429,9 +426,6 @@
" Unfuck my screen
nnoremap U :syntax sync fromstart<cr>:redraw!<cr>
-" Open current directory in Finder
-nnoremap <leader>O :!open .<cr>
-
" 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 <buffer> 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 <buffer> <localleader>( :call PareditToggle()<cr>
- " )
-
- " Duplicate
- au FileType clojure nnoremap <buffer> [] :call DuplicateLispForm()<cr>
-
- " Indent top-level form.
- au FileType clojure nmap <buffer> 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 <D-Left> <Home>
- no! <D-Left> <Home>
- no <M-Left> <C-Left>
- no! <M-Left> <C-Left>
-
- no <D-Right> <End>
- no! <D-Right> <End>
- no <M-Right> <C-Right>
- no! <M-Right> <C-Right>
-
- no <D-Up> <C-Home>
- ino <D-Up> <C-Home>
- imap <M-Up> <C-o>{
-
- no <D-Down> <C-End>
- ino <D-Down> <C-End>
- imap <M-Down> <C-o>}
-
- imap <M-BS> <C-w>
- inoremap <D-BS> <esc>my0c`y
- else
- " Non-MacVim GUI, like Gvim
- end
else
- " Console Vim
-
" Mouse support
set mouse=a
endif