Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: januswel/dotfiles
base: f5f8203c81
...
head fork: januswel/dotfiles
compare: a1e5397e0e
Checking mergeability… Don't worry, you can still create the pull request.
  • 6 commits
  • 1 file changed
  • 0 commit comments
  • 1 contributor
Commits on Apr 05, 2011
@januswel Skip an extra white space
Signed-off-by: janus_wel <janus.wel.3@gmail.com>
9dfe633
@januswel Less spaces when complement
Signed-off-by: janus_wel <janus.wel.3@gmail.com>
850781f
@januswel Protect C/C++ header files
Signed-off-by: janus_wel <janus.wel.3@gmail.com>
a021c33
@januswel Scroll 3 lines with <C-d> and <C-u>
Signed-off-by: janus_wel <janus.wel.3@gmail.com>
83fa7f9
@januswel Define a key mapping to adjust window size equally
Signed-off-by: janus_wel <janus.wel.3@gmail.com>
55e310c
@januswel Fix unlet error
Signed-off-by: janus_wel <janus.wel.3@gmail.com>
a1e5397
Showing with 15 additions and 6 deletions.
  1. +15 −6 .vimrc
View
21 .vimrc
@@ -25,6 +25,7 @@ set nottimeout " once agein, don't
" setted in 'backupdir'.
let s:candidates = split(globpath(&runtimepath, 'backup'), '\n')
let s:backupdirs = []
+let s:candidate = ''
for s:candidate in s:candidates
if isdirectory(s:candidate)
call add(s:backupdirs, s:candidate)
@@ -73,7 +74,7 @@ set confirm " confirm me before quitting modified buffers
" %L : lines count
" %{strtrans(matchstr(getline("."),".",col(".")-1))} : chars under the cursor
" 0x%04B : hexadecimal octets
-" %4P : percentage through file of displayed window
+" %3P : percentage through file of displayed window
let s:statusline = [
\ '%3(%m%) %<%3n %t %y',
\ '[%{&fenc!=#""?&fenc:&enc}:%{&ff}]',
@@ -83,7 +84,7 @@ let s:statusline = [
\ '[%v:%l/%L]',
\ '[%2(%{strtrans(matchstr(getline("."),".",col(".")-1))}%)',
\ ' 0x%04B]',
- \ '[%4P]',
+ \ '[%3P]',
\ ]
let &statusline = join(s:statusline, '')
unlet s:statusline
@@ -125,8 +126,8 @@ set nrformats=hex,alpha
" completion {{{2
" command-line mode
-set wildmenu " command-line completion on
-set wildmode=list:full " list all candidates and complete full words
+set wildmenu " command-line completion on
+set wildmode=list:longest " list all candidates and complete longest matched
" insert mode
" scanning places (and order) by keyword completion
@@ -208,8 +209,8 @@ let autodate_format = '%Y %3m %d'
" plugin: protec.vim
" runtime file is untouchable
-let protec_readonly_paths = '$VIM/**'
-let protec_nomodifiable_paths = '$VIM/**'
+let protec_readonly_paths = '$VIM/**,$INCLUDE/**'
+let protec_nomodifiable_paths = '$VIM/**,$INCLUDE/**'
" plugin: zoomfont.vim
let zoomfont_sizes = [8, 9, 10, 11, 12, 14, 24, 28]
@@ -304,6 +305,9 @@ nnoremap <silent><C-k> :wincmd W<CR>
" move the window to a new tab page
nnoremap <silent><Leader>w :wincmd T<CR>
+" adjust heights and widths of all visible windows equally
+nnoremap <silent><Leader>= :wincmd =<CR>
+
" open the result of looking up a keyword under the cursor in new tabpage
nnoremap <silent><S-k> K:wincmd T<CR>
@@ -434,6 +438,11 @@ abbreviate acknowledgement acknowledgment
" script {{{1
+augroup numof_scroll
+ autocmd! numof_scroll
+
+ autocmd! WinEnter * set scroll=3
+augroup END
" }}}1

No commit comments for this range

Something went wrong with that request. Please try again.