Edit Files
Login Register

5일

Article/링크(tab 정리)

6일

7일

현재 쓰고 있는 .vimrc

``` set number relativenumber set smartindent set hlsearch set history=1000 set ruler "auto complete setting set completeopt=longest,menuone "better match when % runtime macros/matchit.vim syntax on set noet set sw=4 set sts=4 set ts=4 set wildmode=longest,full set wildmenu " indent inside style tag let g:html_indent_style1 = "inc" set nocompatible " be iMproved " for plug in call plug#begin('~/.vim/plugged') " tools Plug 'scrooloose/nerdtree' Plug 'jistr/vim-nerdtree-tabs' Plug 'editorconfig/editorconfig-vim' Plug 'bronson/vim-trailing-whitespace' Plug 'valloric/youcompleteme' " language Plug 'fatih/vim-go' Plug 'jonsmithers/vim-html-template-literals' Plug 'pangloss/vim-javascript' Plug 'tikhomirov/vim-glsl' Plug 'ekalinin/Dockerfile.vim' Plug 'othree/html5.vim' Plug 'walm/jshint.vim' Plug 'stephpy/vim-yaml' Plug 'groenewege/vim-less' Plug 'maxmellon/vim-jsx-pretty' Plug 'ruanyl/vim-sort-imports' " Brief help " :PluginList - lists configured plugins " :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate " :PluginSearch foo - searches for foo; append `!` to refresh local cache " :PluginClean - confirms removal of unused plugins; append `!` to auto-approve removal call plug#end() " shortcut set pastetoggle= map :NERDTreeTabsToggle map :make map :!make map :!make map :FixWhitespace nnoremap :grep -nIR . vnoremap :y:grep -nIR" nmap :set invrelativenumber "go autocmd FileType go nmap r (go-run) autocmd FileType go nmap b (go-build) autocmd FileType go nmap t (go-test) autocmd FileType go nmap :GoDoc autocmd FileType go nmap :GoDef autocmd FileType go map :GoRename autocmd FileType go map :GoImports "mac button "autocmd FileType go nmap "autocmd FileType go nmap :GoDef "autocmd FileType go nmap "c, cpp autocmd FileType c,cpp nmap r :make run autocmd FileType c,cpp nmap t :!make test autocmd FileType c,cpp map :make autocmd FileType c,cpp map :!make autocmd FileType c,cpp map :!make run "java "autocmd FileType java imap imap "javascript autocmd FileType javascript nmap t :!mocha autocmd FileType c,cpp,java,php,ruby,python,javascript,jsx,javascriptreact,go,html,xml,jsp,lua,makefile,css,stylesheet autocmd BufWritePre :FixWhitespace "taglist " "vim-go options let g:go_highlight_types = 1 let g:go_highlight_functions = 1 let g:go_highlight_function_calls = 1 let g:go_imports_autosave = 0 "set backspace=2 " workaround NerdTree bug "https://github.com/preservim/nerdtree/issues/1321#issuecomment-1234980190 let g:NERDTreeMinimalMenu=1 ```

27일