"======== "Keybinds "======== "leader key let mapleader=' ' "---------------- "regular keybinds "---------------- "paste and search nnoremap :noh :let @/ = "" nnoremap i :set invpaste "toggles nnoremap lb :call ToggleLineBreak() nnoremap wr :call ToggleWrap() nnoremap cc :call ToggleColorColumn() "dates nnoremap ts "=strftime("%F %T%z") nnoremap dt :r !date "rc files nnoremap rc :vsplit $MYVIMRC nnoremap so :source $MYVIMRC nnoremap rcl :vsplit ~/.config/vimrc nnoremap rcft :vsplit $HOME/.vim/after/ftplugin/ "windows nnoremap cl :close "formatting tools nnoremap =j :%!python -m json.tool "abbrevations inoreabbrev #!! "#!/usr/bin/env" "--------------- "plugin keybinds "--------------- "netrw nnoremap e :call ToggleNetrw() "vim-plug nnoremap pi :source $MYVIMRC :PlugInstall nnoremap pu :source $MYVIMRC :PlugUpdate nnoremap pc :source $MYVIMRC :PlugClean "openbrowser nnoremap ob :OpenBrowser nnoremap obs :OpenBrowserSearch nmap gx (openbrowser-smart-search) vmap gx (openbrowser-smart-search) "ale nnoremap at :ALEToggle nmap af (ale_fix) nmap aK (ale_hover) nmap agd (ale_go_to_definition) nmap agd (ale_go_to_definition) "vim-emmet let g:user_emmet_leader_key = '' "git-gutter nnoremap ggt :GitGutterToggle "vim-fugitive nnoremap gw :Gwrite nnoremap gl :Glog nnoremap gs :Gstatus nnoremap gd :Gdiffsplit nnoremap gp :Gpush nnoremap ga :Git add % nnoremap ga. :Git add . nnoremap gcm :Git commit "fzf nnoremap gf :GitFiles nnoremap f :Files nnoremap b :Buffers nnoremap h :Helptags nnoremap m :Maps nnoremap rg :Rg