penruins

导航

idea

shortcut

  • 简写
    • C Ctrl
    • S Shift
  • run C-S-F10
  • compile single file C-S-F9

ideaVim

配置文件

"" Source your .vimrc
"source ~/.vimrc
"" -- Suggested options --
" Show a few lines of context around the cursor. Note that this makes the
" text scroll if you mouse-click near the start or end of the window.
set scrolloff=5
let mapleader = " "
 
" 普通模式下和可视模式下 大写方向键移动5个单位
nnoremap H 5h
nnoremap J 5j
nnoremap K 5k
nnoremap L 5l
vnoremap H 5h
vnoremap J 5j
vnoremap K 5k
vnoremap L 5l
 
" tab 映射
nnoremap th :tabp<CR>
nnoremap tl :tabn<CR>
 
" 分屏 映射
nnoremap sv :split<CR>
nnoremap sh :vsplit<CR>
 
" 分屏光标移动
nnoremap <leader>h <c-w>h
nnoremap <leader>j <c-w>j
nnoremap <leader>k <c-w>k
nnoremap <leader>l <c-w>l
 
nnoremap <leader><LEFT> <c-w>H
nnoremap <leader><RIGHT> <c-w>L
nnoremap <leader><UP> <c-w>K
nnoremap <leader><DOWN> <c-w>J
 
" vim 剪贴板与 windows 的系统剪贴板共用
" linux 和 mac 的配置不同
set clipboard+=unnamed
 
vnoremap y "+y
" Do incremental searching.
set incsearch
" Don't use Ex mode, use Q for formatting.
map Q gq
 
"" -- Map IDE actions to IdeaVim -- https://jb.gg/abva4t
"" Map \r to the Reformat Code action
"map \r <Action>(ReformatCode)
"" Map <leader>d to start debug
"map <leader>d <Action>(Debug)
"" Map \b to toggle the breakpoint on the current line
"map \b <Action>(ToggleLineBreakpoint)
 
" Find more examples here: https://jb.gg/share-ideavimrc

easymotion

热部署

http

mess

posted on 2022-01-19 15:56  penruins  阅读(93)  评论(0编辑  收藏  举报