recentpopularlog in

kme : editing   15

A ~/.inputrc for Humans - Top Bug Net | https://www.topbug.net/
<code class="language-inputrc">
$include /etc/inputrc
"\C-p":history-search-backward
"\C-n":history-search-forward

set colored-stats On
set completion-ignore-case On
set completion-prefix-display-length 3
set mark-symlinked-directories On
set show-all-if-ambiguous On
set show-all-if-unmodified On
set visible-stats On
</code>

I would add these, too:
<code class="language-inputrc">
$if mode=vi
set keymap vi-command
# these are for vi-command mode
"\e[A": history-search-backward
"\e[B": history-search-forward

set keymap vi-insert
# these are for vi-insert mode
"\e[A": history-search-backward
"\e[B": history-search-forward

# source: https://brettterpstra.com/2015/07/09/shell-tricks-inputrc-binding-fun/
"\e[1;5C": forward-word
"\e[1;5D": backward-word
$endif
</code>
bash  commandline  editing  configfile  dotfile  movein  essential  newbie  inputrc  readline 
april 2019 by kme
Extension:PlaceNewSection - MediaWiki | https://www.mediawiki.org/
You need to add __ADDNEWSECTIONBELOW__ and __NEWSECTIONLINK__ to your article (if it's outside the "Talk" namespace) in order to get this working. But it works!

Other useful references:

* https://phabricator.wikimedia.org/T122884 - (Make it possible to) always ignore NEWSECTIONLINK in mainspace at the English Wikipedia
* https://www.mediawiki.org/wiki/Help:Magic_words
* https://en.wikipedia.org/wiki/MediaWiki:Gadget-addsection-plus[.js]
* https://en.wikipedia.org/wiki/MediaWiki:Gadgets-definition
mediawiki  editing  extension  movein  essential  fuckina  solution 
may 2018 by kme
Brett's PopClip Extensions - BrettTerpstra.com [http://brettterpstra.com/]
Pick WebMarkdown.popclipextz and set the wrappers to blockquote. Yeaaah.

Also "URLEncode" using Perl.
pinboard  markdown  popclip  extension  webdevel  urlencode  textprocessing  editing  solution 
january 2014 by kme
MacVim: Re-map command key combinations like <d-f> - Super User
if has("gui_macvim")
macmenu &File.New\ Tab key=<nop>
map <D-t> :CommandT<CR>
endif

So basically you unmap the respective menu item, and then you are free to map the shortcut you were trying to map. (I'm not sure what the ampersand is doing; it works with and without it.)

This must be put in ~/.gvimrc, not ~/.vimrc! (Apparently ~/.vimrc is read too early, so the (un)mappings will be clobbered if you put them there.)
vim  commandt  script  addon  editing  productivity  plugin  solution 
march 2013 by kme

Copy this bookmark:





to read