: Today I passed my 117-201 exam and now I play a little bit with the Vi
: key bindings on Zsh. In Bash you can set them with set -o vi, and in Zsh you
: can set them additionally with setopt vi.
:
: I want to get to the point of command line editing above the basic
: tab complete and history browsing, searching and minor corrections. So I
: start witch a little example:
:
: I want to rename a file with the following naming scheme:
:
: someID_filename.txt to filename.txt
:
: After my fulminant efficient Vim key combination for table editing, (see this article)
: I challenge everybody to find the shortest key combination to fulfill this
: task.
:
: I start with an self-deprating solution:
:
: First I type:
: mv someID_filname.txt
:
: Now the count begins:
:
: <Space><Esc>T_y$$p<Enter>
:
: This makes a total of 9 characters which i have to store in my brain. As I want
: to have my head free for more complicated tasks, of course this has to
: be optimized dramatically :)
:
: Have fun.
Advanced Command-Line Editing
•September 11, 2007 • Leave a CommentGoogleEarth Freezes With Actual Ati-Drivers (No More)
•August 30, 2007 • Leave a CommentThere is a library missing, libGL.so.1 see this site for instructions.
Edit: Everything works fine for me now with latest googleearth (4.2.0198.2451 (beta)), no need to copy this library anymore as googleearth starts then in software-emulation mode.
Insert Current Date In Vim
•August 27, 2007 • 3 CommentsMove files beginning with an hyphen
•August 19, 2007 • 2 CommentsCannot connect with ipw2000 module
•August 11, 2007 • Leave a CommentBuilding a new kernel i couldn’t connect annymore to my wlan-router, allthough i had the same configuration as my other kernel. Whell, almost, under Cryptographic options i build the AES cipher algorithms as module therefore the ieee80211_crypt_ccmp module could not find it , though i made a depmod. It gave me the errormessage:
ieee80211_crypt_ccmp: could not allocate crypto API aes
So apparently you have to build this into the kernel for wlan
gcc-config error: Could not run/locate “gcc”
•July 23, 2007 • 2 CommentsWhenever switching gcc-versions, for example from 4.1 to 4.2 dont forget to do a:
gcc-config i686-pc-linux-gnu-4.2.0
technorati tags:gcc, gcc-config, error,gentoo
Append yanked and deleted lines to registers in vim
•July 13, 2007 • Leave a CommentVim commandline
•July 13, 2007 • Leave a CommentToday i have my LPIC 101 exam, and while learning i tripped over this two examples:
vi +”set number” somefile.txt
vi +/sometext somefile.txt
The first one opens a file and numbers it and the second one opens a file and highlights the searchterm.
technorati tags:vim, commandline, search,numbering





Recent Comments