Skip to content

Instantly share code, notes, and snippets.

@HonmaMeikodesu
Last active February 11, 2025 12:31
Show Gist options
  • Save HonmaMeikodesu/9f79bd411836a4c5ec0099c25a892601 to your computer and use it in GitHub Desktop.
Save HonmaMeikodesu/9f79bd411836a4c5ec0099c25a892601 to your computer and use it in GitHub Desktop.
开发环境记录

开发IDE

  • VSCode
  • Vim

VSCode插件

通用

  • VSCodeVim
  • GitLens
  • Open in Browser
  • Markdown All in One
  • PlantUML
  • Prettier
  • ESLint
  • Learn Vim

前端开发

  • Search node_modules

Vim插件

  • 插件包管理工具:vim-plug
call plug#begin()

Plug 'bkad/CamelCaseMotion'
Plug 'easymotion/vim-easymotion'
Plug 'justinmk/vim-sneak'
Plug 'junegunn/fzf'
Plug 'junegunn/fzf.vim'

Plug 'neoclide/coc.nvim', {'branch': 'release'}

Plug 'tpope/vim-surround'
Plug 'prettier/vim-prettier'

Plug 'flazz/vim-colorschemes'
Plug 'ap/vim-css-color'
Plug 'MaxMEllon/vim-jsx-pretty'

Plug 'scrooloose/nerdtree'
Plug 'ryanoasis/vim-devicons'
Plug 'tiagofumo/vim-nerdtree-syntax-highlight'

call plug#end()

Vim KeyMapping

let mapleader = ' '
let g:camelcasemotion_key = '<leader>'
let g:coc_global_extensions = ['coc-tsserver']
map J 5j
map K 5k
map H 5h
map L 5l
map b <leader>b
map w <leader>w
map e <leader>e
nnoremap <leader><leader>t :NERDTreeToggle<CR>
noremap <S-b> b
noremap <S-w> w
noremap <S-e> e
nmap <leader>ac  <Plug>(coc-codeaction)
nmap <leader>qf  <Plug>(coc-fix-current)
nmap <silent> gd <Plug>(coc-definition)
nmap <silent> gr <Plug>(coc-references)
nmap <silent> gy <Plug>(coc-type-definition)

.vimrc

syntax on
set encoding=UTF-8
colorscheme blue

命令行

  • iTerm2(macOS)

命令行字体

  • ryanoasis/nerd-fonts

命令行工具

  • oh my zsh
    • autojump
    • zsh-autosuggestions
    • sudo
  • nvm
  • The Silver Searcher(拳打ack,脚踢grep,感受来自C语言大佬的压迫)

Chrome插件

  • Vimium
  • Postman Interceptor
  • Proxy SwitchyOmega
  • Vue Devtools
  • React Devtools
  • Diigo(收费死贵,长期没有更新功能,仅能保证服务可用,不能要求更多了)

通用工具

  • Clipy(仅适配macOS)
  • Everything
  • Whistle
  • Postman
  • Bitwise SSH Client
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment