tmux is a terminal multiplexer: it lets you run multiple terminal sessions inside a single window, split panes side by …
read moreOther articles
Pelican New Post script
In the aim of keeping the navigation of the Blog posts clean, I have limited my self to a few …
read more"Vim: Macro"
When
read more.just will not do (repeats last action) because you need to capture a movement as well, macros are quick …"Word WORD the Difference"
Just realised there is a difference between word and WORD in Vim.
WORD is non-blank delimited by whitespace. word is …
read more"Screen Scrollback"
Enter copy mode
ctrl-a [Use cursors of vim motions to move to relevant area.
Space to start selection, space again …
read more"Octopress, Pages and Custom Domain"
In your
read moresourcesbranch, which is the main branch for writing creating posts, create aCNAMEfile in the sources …"Edit Octopress Posts"
Creating new posts in Octopress is
rake new_post["Edit Posts"]which outputs the created filename.Posts are prefixed with date …
read more"git submodule update fatal"
$ git submodule update fatal: Needed a single revision Unable to find current revision in submodule path 'vim/bundle/systemverilog'To …
read more"Check you current Vim colorscheme"
This is not a foolproof method, as vim colorschemes are just vim commands but by default they set:
read morelet g …"Vim: Status line"
Deciding to see if I could make my vim status line a bit more practical for myself. I decided to …
read more"VIM: Convert tabs to spaces"
Good programming practice is to use spaces to indent code rather than tabs. Due to tabs often being rendered differently …
read more"Terminal Colours"
I have decided to clean up my vim colorschemes. I have been using ir_black for sometime but it does not …
read more"Navigate Verilog with VIM"
Using
gfIn your vimrc
read more" gf goto_file, automatically add search for these file extensions :set suffixesadd+=.v :set suffixesadd+=.sv …"Vim Code Folding"
To enable code folding in Vim type (from normal mode):
:set foldmethod=markerOr add this to your
.vimrcread moreset …"Vim consistent spelling correction highlighting"
In gvim and mvim incorrect spellings are highlighted with a squiggly underscore ala MS Word. vim in a terminal (xterm …
read more"Get snipMate working, a #vim plugin"
"Mountain Lion Setup, Part 5 /etc/hosts"
For ssh and ping to local machines with out the .local extension I added them to my /ets/hosts file …
read more"#vim toggle between last 2 edited buffers"
ctrl-6Demo
For the example we will create 3 new temp files and then open them in vim.
read moretouch vim_test1 …"Mountain Lion Setup, Part 3 : Little Snitch & Dotfiles"
Little Snitch
There is currently a preview (Beta) of [Little Snitch 3][littelsnitch3]. If you have not come across Little …
read more"Vim Terminal Colours"
"Ubuntu, formatting a 3TB drive"
I started off following the ubuntu guide for installing a new drive, which uses fdsik to create the partitions how …
read more"list_temp_files script"
A simple script for finding temp files from the current directory and below. I often run this before adding a …
read more"Vim, paste from insert mode"
ctrl-r "Actually
ctrl-r reg, where " is the unnamed register from the last yank or delete.Why
If you have done …
read more"Installing gist.vim"
This vim plugin will allow you to gist directly from vim, simple way is just :Gist to gist entire file …
read more"vimfu end of line character placement"
In Vim to insert text before the cursor press 'i', to insert text after cursor 'a' or to edit at …
read more"Vimfu Reindent"
"Ruby Block Selection in Vim (Plugin)"
A new very cool plugin for Rubyists using Vim. RubyBlock TextObjects created by Drew Neil from Vimcasts.org. Once installed …
read more"[vim] Indenting with Vim "
"Vim show lines over 80 charaters long."
This snippet can be added to you ~/.vimrc to highlight long lines.
read more" Highlight lines over 80 characters long with red …"Vim search and replace"
To search in Vim just press (apple-f for macvim) / then search string.
/searchThis will highlight all occurrences of 'search' …
read more"Mac OS X run nginx as a user process"
I do not like having to use sudo to run development servers for testing web applications. sudo should be reserved …
read more"How to test subdomains on a development machine"
I recently documented how I installed Ruby Enterprise and nginx on Mac OS X. Here we see how to make …
read more