• .bashrc stuff


  • /etc/inputrc stuff
set show-all-if-ambiguous on

Note: if you put this in ~/.inputrc, at least with RedHat, it will ignore your stock /etc/inputrc. This has the weird side effect of (on my machine) messing up my 'END' key with putty. You can hack this back ( put "\e[4~": end-of-line in ~/.inputrc ) but it's easier to just edit /etc/inputrc


  • .vimrc stuff
" set tabs to 3 spaces
set ts=3

" this colorscheme is pretty easy to read, esp the highlighted
"  searches compared to the default
colorscheme elflord

" (or at least)
" set highlighted search to something you can see!!
hi Search guifg=#90fff0 guibg=#2050d0  ctermfg=black ctermbg=yellow cterm=underline term=underline

" toggle highlighs from a search
nmap <F1> :set hls!<CR>

" go up/down a page by hitting backspace/space
noremap <Space> <C-F><C-G>
noremap <BS> <C-B><C-G>

" toggle showing characters for tabs and EOL chars
nnoremap <F2> :set list!<CR>

" toggle showing line numbers
nmap <F3> :set number!<CR>

" toggle case sensitivity
nmap <F4> :set ignorecase!<CR>

set incsearch

-- MattWalsh - 22 Mar 2004

Topic revision: r3 - 31 Dec 2005 - MattWalsh
 
This site is powered by the TWiki collaboration platformCopyright © 2008-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback