This file contains 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
removeSearchAliasX('b'); | |
removeSearchAliasX('w'); | |
removeSearchAliasX('h'); | |
removeSearchAliasX('s'); | |
removeSearchAliasX('h'); | |
removeSearchAliasX('g'); | |
removeSearchAliasX('y'); | |
unmap("ob"); | |
unmap("og"); |
This file contains 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
# On slow systems, checking the cached .zcompdump file to see if it must be | |
# regenerated adds a noticable delay to zsh startup. This little hack restricts | |
# it to once a day. It should be pasted into your own completion file. | |
# | |
# The globbing is a little complicated here: | |
# - '#q' is an explicit glob qualifier that makes globbing work within zsh's [[ ]] construct. | |
# - 'N' makes the glob pattern evaluate to nothing when it doesn't match (rather than throw a globbing error) | |
# - '.' matches "regular files" | |
# - 'mh+24' matches files (or directories or whatever) that are older than 24 hours. | |
autoload -Uz compinit |
This file contains 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
"Examples: | |
":Page version | |
":Page messages | |
":Page ls | |
"It also works with the :!cmd command and Ex special characters like % (cmdline-special) | |
":Page !wc % | |
"Capture and return the long output of a verbose command. | |
function! s:Redir(cmd) | |
let output = "" | |
redir =>> output |