ä»æµè¡ã®.emacs & .vimrc
åã®å¨ãã§å¼·å¼ã«æµè¡ããã¦ããã
ã¨ãã£ã¿ã§è¡æ«ã«åå¨ããã¹ãã¼ã¹ã強調表示ããè¨å®ã
ãã®è¨å®ãããã¨ã人ãæ¸ããã³ã¼ãã®è¡æ«ã®ã¹ãã¼ã¹ã大å¤æ°ã«ãªã£ã¦ãã¾ãã
ãã®äººã«è¨å®ãæ¼ãä»ãã¦â¦ã¨ãã£ãä¼æåãæã¡ã¾ããåãæ±ã注æã
ãã®è¨å®ã®æµè¡ãå§ãã段éã§ã¯ã
Subversionã®å·®åã§ãã©ããå¤ãã£ãã®ï¼ãã¨æããããªå·®åãå¤ãåºç¾ãã¾ãã
(when (boundp 'show-trailing-whitespace) (setq-default show-trailing-whitespace t))
.vimrc
highlight WhitespaceEOL ctermbg=red guibg=red
match WhitespaceEOL /\s\+$/
追è¨ãã®1
Vimã§tabã使ã£ã¦ããã¨ãï¼ã¤ã以éã®ã¿ãã§å¼·èª¿è¡¨ç¤ºãããªãããã ã
ããã§ã©ãã ããã
æ°.vimrc
set listchars=trail:\ ,tab:.\
hi SpecialKey ctermbg=red guibg=red
listcharsã«ã¯ãtab/eol/extends/precedes/nbspãæå®ã§ããã
eol/extends/precedesã®ãã¤ã©ã¤ãã°ã«ã¼ãã¯NonTextã
nbsp/tab/trailã®ãã¤ã©ã¤ãã°ã«ã¼ãã¯SpecialKeyã
ãã ããããã ã¨tabã¾ã§ç®ç«ã£ã¦ãã¾ãããããã
追è¨ãã®2 Vimæçµç
autocmd WinEnterã£ã¤ã¼ã®ãããã®ãã
ããã§æ«å°¾ã®ã¹ãã¼ã¹ã ããç®ç«ããããã¨ãã§ããã ããã
highlight WhitespaceEOL ctermbg=red guibg=red
match WhitespaceEOL /\s\+$/
autocmd WinEnter * match WhitespaceEOL /\s\+$/
追è¨ãã®3 emacsã§ã®develock
ã²ãããããdevelock.elãç´¹ä»ãã¦ãã ãã£ã¦ãã¾ãã
develockã«ã¤ãã¦ã¯ã以ä¸ã®ãµã¤ããåèã«ãªããã¨æãã¾ãã
åãã¼ã¸å
ã«ã¯ãããã°ã©ãã³ã°ã«ä¾¿å©ãªè¨å®ãä»ã«ãç´¹ä»ãã¦ããã¾ããï¼