LoNeZ 最近的时间轴更新
LoNeZ

LoNeZ

V2EX 第 380414 号会员,加入于 2019-01-27 10:53:36 +08:00
今日活跃度排名 3192
LoNeZ 最近回复了
... 在让 ta 开始写的时候 可以告诉 ta 写的不要那么像 ai.
8 天前
回复了 techsnow 创建的主题 生活 服了,小破车还有人偷
别人的副业...
9 天前
回复了 zdoubley22223 创建的主题 上海 求助上海梯子是出现异常了吗,
在客户端和服务端分别抓包 看下出站入站包...
vim mode... 分享一个 idea 的配置

```
" ref: .ideavimrc https://github.com/JetBrains/ideavim/discussions/303
" ref: https://github.com/JetBrains/ideavim/wiki/set-commands
" base configuration
" :actionlist
set showmode
set incsearch
set hlsearch
set nu
set relativenumber
set ignorecase
set smartcase
set clipboard+=unnamed

" keymaps
" the leader key
let mapleader=" "
" redo
nnoremap U <C-r>

" zen-mode
nnoremap <C-z> :action ToggleDistractionFreeMode<CR>

" find
nnoremap <C-f> :action GotoFile<CR>
nnoremap <C-r> :action RecentFiles<CR>

" navigation
nnoremap J }
nnoremap K {

nnoremap sv :action SplitVertically<CR>
nnoremap ss :action SplitHorizontally<CR>
nnoremap sm :action MoveEditorToOppositeTabGroup<CR>

nnoremap sh <c-w>h
nnoremap sl <c-w>l
nnoremap sj <c-w>
nnoremap sk <c-w>k

nnoremap jp :action PreviousTab<CR>
" S => right shift
nnoremap jn :action NextTab<CR>

nnoremap ;q :action CloseContent<CR>
nnoremap ;a :action CloseAllEditors<CR>

" code interactions
nnoremap <leader>c :action CommentByLineComment<CR>
nnoremap <leader>C :action CommentByBlockComment<CR>
nnoremap <leader>r :action RenameElement<CR>
nnoremap <leader>f :action ReformatCode<CR>
nnoremap <leader>re :action Refactorings.QuickListPopupAction<CR>
nnoremap <leader>su :action ShowUsages<CR>
nnoremap <leader>sU :action FindUsages<CR>
nnoremap <leader>m :action CollapseRegion<CR>
nnoremap <leader>M :action ExpandRegion<CR>
nnoremap <leader>am :action CollapseAllRegions<CR>
nnoremap <leader>aM :action ExpandAllRegions<CR>

" goto start with g
" goto LSP start with s
nnoremap ge :action GotoNextError<CR>
nnoremap gE :action GotoNextError<CR>
nnoremap ga :action GotoAction<CR>
nnoremap gc :action GotoClass<CR>
nnoremap gi :action GotoImplementation<CR>
nnoremap si :action LSP.GotoImplementation<CR>

nnoremap go :action GotoSuperMethod<CR>
nnoremap gd :action GotoDeclaration<CR>
nnoremap sd :action LSP.GotoDeclaration<CR>
nnoremap sr :action LSP.GotoReference<CR>
nnoremap st :action LSP.GotoTypeDefinition<CR>
nnoremap gf :action GotoSymbol<CR>
nnoremap gt :action GotoTest<CR>
nnoremap gT :action TextSearchAction<CR>
nnoremap gs :action copilot.chat.show<CR>


" code selection
nnoremap <S-j> :action MoveLineDown<CR>
nnoremap <S-k> :action MoveLineUp<CR>

" debugging
nnoremap <leader>d :action Debug<CR>
nnoremap <leader>dc :action DebugClass
nnoremap <leader>ds :action Stop<CR>
nnoremap <leader>db :action ToggleLineBreakpoint<CR>

" run
nnoremap <leader>rc :action ContextRun<CR>
nnoremap <leader>rx :action ChooseRunConfiguration<CR>
nnoremap <leader>rr :action Rerun<CR>
nnoremap <leader>rt :action RunTests<CR>
nnoremap <leader>rs :action Stop<CR>

" search
nnoremap <leader><leader> :action SearchEverywhere<CR>

"---------- plugins ----------
" easy motion
set easymotion
map f <Plug>(easymotion-s)
" commentary
" gcc | gcm
Plugin 'tpope/vim-commentary'
set commentary

```
13 天前
回复了 fc077 创建的主题 生活 三十而已
30 岁 11 月生日 我记得现在去上海野生动物园免门票
18 天前
回复了 sampeng 创建的主题 Cloudflare cloudflare 全球挂了??
29 天前
回复了 bladeRunner2049 创建的主题 Windows 电脑中英文切换的问题
@kzfile 我现在的方案是 搜狗只保留中文 系统 ABC 这样切换就是单一的了, 然后 vim mode 下 按 esc 自动切换到 ABC
fila hoka...
29 天前
回复了 infyni 创建的主题 生活 怎么应付给老婆拍照这种历史难题?
用这个镜头 85mm-f1.8.
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   2345 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 12ms · UTC 15:52 · PVG 23:52 · LAX 07:52 · JFK 10:52
♥ Do have faith in what you're doing.