业务开发(十)—— 操作系统

0x01 无法kill单个进程

kill某个进程之后,该进程会立马被创建。当选择结束该进程的整个进程树,该进程就彻底被kill掉

Mac

0x01 VIM语法高亮

修改~./vimrc文件

set ai                  " auto indenting
set history=100         " keep 100 lines of history
set ruler               " show the cursor position
syntax on               " syntax highlighting
set hlsearch            " highlight the last searched term
filetype plugin on      " use the file type plugins

" When editing a file, always jump to the last cursor position
autocmd BufReadPost *
\ if ! exists("g:leave_my_cursor_position_alone") |
\ if line("'\"") > 0 && line ("'\"") <= line("$") |
\ exe "normal g'\"" |
\ endif |
\ endif

保存退出即可

posted @ 2017-02-28 11:51  清泉白石  阅读(149)  评论(0编辑  收藏  举报