Permalink
Browse files

add memolist, cr in normal mode

  • Loading branch information...
1 parent 6c59ea8 commit 2d6702f849fc12b972343dcc801b2c2949a6d7b4 fukaya_atsuo committed May 2, 2012
Showing with 23 additions and 2 deletions.
  1. +4 −1 bashrc
  2. +19 −1 vimrc
View
5 bashrc
@@ -109,10 +109,13 @@ export PS1='\[\033[32m\]\u@\h\[\033[00m\]:\[\033[34m\]\w\[\033[31m\]$(__git_ps1)
alias gvim='gvim -f'
alias ..='cd ..'
+alias amb='~/deka/amb'
PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function
-source ~/.nvm/nvm.sh
+source ~/nvm/nvm.sh
+alias adb=~/android/android-sdk-linux/platform-tools/adb
+alias declipse='~/deka/eclipse/eclipse &'
View
20 vimrc
@@ -43,6 +43,10 @@ vmap <C-x> "+c
vmap <C-v> c<ESC>"+p
imap <C-v> <ESC>"+pa
+" ノーマルモードで改行
+noremap <CR> o<ESC>
+noremap <S-CR> O<ESC>
+
" プラグインの設定
set nocompatible " be iMproved
filetype plugin indent off " required!
@@ -69,6 +73,19 @@ set nocompatible " be iMproved
" let loaded_project = 1
NeoBundle 'Shougo/vimfiler'
+ "memo"
+ NeoBundle 'glidenote/memolist.vim'
+ let g:memolist_path = "~/Dropbox/memo"
+ let g:memolist_memo_suffix = "md"
+ let g:memolist_memo_date = "%Y-%m-%d %H:%M"
+ "let g:memolist_memo_date = "epoch"
+ "let g:memolist_memo_date = "%D %T"
+ let g:memolist_prompt_tags = 1
+ let g:memolist_prompt_categories = 1
+ "let g:memolist_qfixgrep = 1
+ let g:memolist_vimfiler = 1
+ "let g:memolist_template_dir_path = "path/to/dir"
+
" coffee & jade
NeoBundle 'kchmck/vim-coffee-script'
NeoBundle 'digitaltoad/vim-jade.git'
@@ -154,7 +171,8 @@ set nocompatible " be iMproved
noremap <C-Z> :Unite file_mru<CR>
" 常用セット
- noremap <C-M> :Unite file_mru buffer<CR>
+ " noremap <C-M> :Unite file_mru buffer<CR>
+
" ウィンドウを分割して開く
au FileType unite nnoremap <silent> <buffer> <expr> <C-J> unite#do_action('split')

0 comments on commit 2d6702f

Please sign in to comment.