christianmlong + history   15

GitHub - maxbrunsfeld/vim-yankstack: A lightweight implementation of emacs's kill-ring for vim
Yankstack.vim is a lightweight implementation of the Emacs 'kill ring' for Vim. It allows you to yank and delete things without worrying about losing the text that you yanked previously. It effectively turns your default register into a stack, and lets you cycle through the items in the stack after doing a paste.

This plugin is intended to be a simpler alternative to the yankring plugin. It has a fairly complete test suite based on rspec and vimbot.
paste  copy  history  plugin  vim  yank  killring  yankring 
march 2019 by christianmlong
keyboard shortcuts - VIM: How do you get the last ex command you used? - Super User
Try the q: command. (That's two characters, first q and then :.) This is a normal mode command that will open up your ex-command history in a special Vim buffer. You can review the history, yank anything you want just as always, and/or edit a line and press <enter> on it to execute it.
vim  annoyances  ex  command  history  buffer  q: 
september 2015 by christianmlong
git filter branch - How do I remove the old history from a git repository? - Stack Overflow
echo "<NEW-ROOT-SHA1>" > .git/info/grafts

git filter-branch -- --all


- or -

git checkout --orphan temp deadbeef
git commit -m "Truncated history"
git rebase --onto temp deadbeef master
git branch -D temp

git gc --aggressive --prune=now

That can leave a lot of commits that are referenced by tags and remote branches. So, make another clone

git clone --no-local --no-hardlinks /path/to/old/repo /path/to/new/repo

Do a 'du' on the new clone, to make sure it does not take up as much space as the old repo.
git  remove  history  graft  orphan 
march 2015 by christianmlong
Preserve bash history in multiple terminal windows - Unix & Linux Stack Exchange
export HISTCONTROL=ignoredups:erasedups # no duplicate entries
export HISTSIZE=100000 # big big history
export HISTFILESIZE=100000 # big big history
shopt -s histappend # append to history, don't overwrite it

# Save and reload the history after each command finishes
export PROMPT_COMMAND="history -a; history -c; history -r; $PROMPT_COMMAND"
bash  history 
may 2013 by christianmlong
BashFAQ/088 - Greg's Wiki
PROMPT_COMMAND="${PROMPT_COMMAND:-:} ; history -a"
bash  command  history 
may 2013 by christianmlong
Jude Robinson : The single most useful thing in bash
Create ~/.inputrc and fill it with this:

"\e[A": history-search-backward
"\e[B": history-search-forward
set show-all-if-ambiguous on
set completion-ignore-case on
This allows you to search through your history using the up and down arrows … i.e. type "cd /" and press the up arrow and you'll search through everything in your history that starts with "cd /".
bash  inputrc  ctrl-r  command  history 
april 2013 by christianmlong
List of Ubuntu releases - Wikipedia, the free encyclopedia
Ubuntu, an operating system based on Debian GNU/Linux, makes two releases every year, using the year and month of the release as a version number. The first Ubuntu release, for example, was Ubuntu 4.10 and was released on 20 October 2004.[1] Consequently, version numbers for future versions are provisional; if the release is delayed until a different month to that planned, the version number changes accordingly.
ubuntu  versions  release  history 
november 2009 by christianmlong

Copy this bookmark:



description:


tags: