This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
class BaseA | |
{ | |
public: | |
BaseA() { cout << "constructor of BaseA\n"; } | |
~BaseA() { cout << "destructor of BaseA\n"; } | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" DERIVED FROM: | |
" | |
" Vim indent file | |
" Language: JavaScript | |
" Author: id:gnarl(http://d.hatena.ne.jp/gnarl) | |
" URL: - | |
" Last Change: 2007 aug 4 | |
" | |
" oritinal author: Ryan (ryanthe) Fabella <ryanthe at gmail dot com> | |
" original file: http://www.vim.org/scripts/script.php?script_id=1936 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" neocomplcache | |
" http://github.com/Shougo/neocomplcache | |
let g:neocomplcache_enable_at_startup = 1 | |
let g:neocomplcache_max_list = 100 | |
let g:neocomplcache_max_keyword_width = 50 | |
let g:neocomplcache_max_filename_width = 15 | |
let g:neocomplcache_auto_completion_start_length = 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"--------------------------------------- | |
" Align | |
" Align.vim | |
" http://www.vim.org/scripts/script.php?script_id=294 | |
let g:Align_xstrlen = 3 | |
augroup MyAlignDefault | |
autocmd! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Conque | |
" http://www.vim.org/scripts/script.php?script_id=2771 | |
" ~/.vim/after/ftplugin/conque_term.vim | |
augroup MyConqueTerm | |
autocmd! | |
" start Insert mode on BufEnter | |
autocmd BufEnter * | |
\ if &l:filetype ==# 'conque_term' | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" FileType Plugin for conque_term | |
"" Keymaps | |
if g:ConqueTerm_CWInsert | |
inoremap <silent><buffer> <C-w>= <Esc><C-w>=i | |
imap <silent><buffer> <C-w>+ <Esc><C-w>+i | |
imap <silent><buffer> <C-w>- <Esc><C-w>-i | |
imap <silent><buffer> <C-w>@ <Esc><C-w>@i | |
" " defined at autoload/conque_term.vim |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"--------------------------------------- | |
" Replace | |
" eregex.vim | |
" http://www.vector.co.jp/soft/unix/writing/se265654.html | |
" NOTE: :S and :M commands accept Perl-compatible regexp notation | |
let g:eregex_meta_chars = '^$()|[]{}.*+?\/' | |
let g:vregex_meta_chars = '^$|[].*\/' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"----------------------------------------------------------------------------- | |
" Commenting-out | |
" derived from: | |
" http://nanasi.jp/articles/vim/commentout_source.html | |
" <prefix><x> - encomment | |
" <prefix><prefix><x> - encomment with copy | |
" <prefix>c - decomment |
NewerOlder