" My pentadactylrc uses folds " " zR open all folds " zM close all folds " za toggle fold at cursor position " zj move down to start of next fold " zk move up to end of previous fold " My pentadactylrc command and mapping quick reference {{{1 " ----------------------------------------------------------------- " " Keyboard mappings " " Change Option: " coh -- toggles the highlight search " cog -- Toggle the gui on or off " cob -- shows the bookmark toolbar " cot -- Toggle the tab bar on or off " Bookmark: " bd -- Bookmark in Delicious " bdm -- Start the dev meeting " bp -- Add video to Plex " br -- Read later in Pocket " bx -- Kick ass! " Movement: " w -- Horizontal scroll left " e -- Horizontal scroll right " J -- Alternative to " K -- Alternative to " -- Switch to next tab to the left " -- Switch to next tab to the right " H -- Move current tab to the left " L -- Move current tab to the right " -- Go to the next tab group " -- Go to the previous tab group " Other Stuff: " f -- Remapped to ;; to only focus hint " -- Open textarea in external editor " -- Map the group tab shortcut to start pass through first " " Keyboard mappings that have been disabled " " d -- Turned off delete current tab " -- Turned off backspace as "back" " -- Turned off auto increment because it is annoying " General settings {{{1 " ----------------------------------------------------------------- set novisualbell " " turn off the freakin' bell hi Bell display: none; " " Only show the command line and status bar set guioptions=Csr " set wild mode to show completions as you type set wildmode="list:full" " fix completion list so search engines don't kill tabbing set complete=lS " show up to 35 items in the completion list set maxitems=35 " use a different color scheme colorscheme solarized-light " set a stupid title set titlestring="oh hai!" " only show the tab bar if there are more than 1 tabs set showtabline='multitab' " load plugins that are css as well set loadplugins='\.(css|js|penta)$' " Open diverted links automatically set activate+=diverted " Toggle dark mode map -builtin i :exttoggle Advanced Night Mode " Searching {{{1 " ----------------------------------------------------------------- " Use home row letters for hints instead of numbers set hintkeys=asdfgr;lkhiu " find as you type set incfind " highlight the terms set hlfind " unless they contain upper-case letters set findcase=smart " a toggle for search highlight map coh :set hlfind! " Set up google as the default search engine " set defsearch=google " Mappings {{{1 " leader is space ! map " " " Space does nothing by itself map -builtin " " " bring back/hide portions of the GUI map -builtin cog :set guioptions!=mBT map -builtin cob :toolbartoggle Bookmarks Toolbar map -builtin cot :set showtabline!=never,always map -builtin :tabs " temporary workaround for copy paste in text boxes " https://code.google.com/p/dactyl/issues/detail?id=517 imap -builtin imap -builtin imap -builtin " Also assign ctrl + e as that is easier to type, and what I have " set up in thunderbird :) imap -builtin imap -builtin jk " Clearly doesn't invoke anymore, this forces it map -builtin md :emenu Tools.Downloads map -builtin ma :emenu Tools.Add-ons map -builtin mp :emenu Tools.Preferences " Never wanted to go back when I hit delete, now it won't nmap -builtin " The auto number incremeting is kind of annoying nmap -builtin " Go into pass through mode when invoking group tabs "nmap -builtin " Text/Typing {{{1 " ----------------------------------------------------------------- " set editor to nvim on a floating alacritty terminal set editor='alacritty --class=Floating,Floating -e nvim -c "set filetype=markdown"' set insertmode " tmap -builtin jk " imap jk " tmap -builtin jk imap -builtin jk " map -builtin gi gi cmap -builtin jk " tell the bell to go beep itself! " Navigation {{{1 " ---------------------------------------------------------------- " " smooth scroll setting set scrollsteps=5 set scrolltime=100 " Scroll settings map -builtin h 10h map -builtin l 10l map -builtin j 10j map -builtin k 10k nmap -builtin d 50j nmap -builtin u 50k " go forward and back " map -builtin J TODO: RIP " map -builtin K " Dont want that nmap -builtin D " Go to the next/previous tab map -builtin J :tabprevious map -builtin K :tabnext " Go back and forward in history of the current page map -builtin H :back map -builtin L :forward "" Go to the next / previous tab group "map -builtin "map -builtin " Move the current tab map -builtin :tabmove! -1 map -builtin :tabmove! +1 " Don't follow a hint immediately map -builtin f ;; " Bookmarklets {{{2 " ----------------------------------------------------------------- " NOTE: These are bookmarks in Firefox with keywords. You'll have " to add the bookmarks if they don't exist. " Bookmark with org protocol map -builtin bo :javascript 'javascript:location.href="org-protocol:///capture?url="+encodeURIComponent(location.href)+"&title="+encodeURIComponent(document.title||"[untitled page]")' " Start up the dev meeting map -builtin bd :tabopen bkm-dev-meeting " Shortcuts for GitHub Pull Requests map -builtin bpr :tabopen bkm-prs-review map -builtin bpq :tabopen bkm-prs-qa " Add video on the page to Plex map -builtin bp :open bkm-plex " Ignore Rules {{{1 " ----------------------------------------------------------------- " pass keys in the folowing websites :autocmd LocationChange 'https://ozencb.github.io/tilde-enhanced/*' :normal! " :autocmd LocationChange 'https://www.youtube.com/watch*' :normal! :autocmd LocationChange 'https://www.wanikani.com/lesson*' :normal! " Interface Tweaks {{{1 " ----------------------------------------------------------------- " Get rid of the tab group / tab selector arrow at the top of the " vertical tab bar when using Tree Style Tab. This can't be done " through the interface customization for some reason. javascript <