summaryrefslogtreecommitdiff
path: root/cfg/.vimrc
diff options
context:
space:
mode:
authorczjstmax <jstmaxlol@disroot.org>2026-04-13 14:50:30 +0200
committerczjstmax <jstmaxlol@disroot.org>2026-04-13 14:50:30 +0200
commitc9b202e214cff52cbcd297a46c645a5a324dabdc (patch)
treef233170b020c0c31f9bb54955f75ab82938571a6 /cfg/.vimrc
parentca28a6b97267394311e146264d8040af343ca107 (diff)
updated configs (`.vimrc`, i3 `config` and `jmdmenu`)
Signed-off-by: czjstmax <jstmaxlol@disroot.org>
Diffstat (limited to 'cfg/.vimrc')
-rw-r--r--cfg/.vimrc11
1 files changed, 10 insertions, 1 deletions
diff --git a/cfg/.vimrc b/cfg/.vimrc
index 05f3f23..1be1f06 100644
--- a/cfg/.vimrc
+++ b/cfg/.vimrc
@@ -32,9 +32,15 @@ set guifont=Comic\ Mono:h12
let mapleader = ","
vnoremap <leader>/ :<C-U>s/^/\/\/ /<CR>:nohl<CR><esc>
+" the coolest regex-es you'll see (fake as fuck)
+command! RmComments %s/\s*\/\/\s*.*//
+
"add time at the right of status bar thing
set statusline=%<%f\ %h%m%r%=%-14.(%l,%c%V%)\ %P\ %{strftime(\"%Y年%m月%d日\ %H時%M分%S秒\")}
+" for vim-polyglot
+set nocompatible
+
" vim-plug fine shyt
call plug#begin()
@@ -50,6 +56,8 @@ call plug#begin()
Plug 'neoclide/coc.nvim', {'branch': 'release'}
Plug 'windwp/nvim-autopairs'
Plug 'zenlang/zen.vim'
+ Plug 'sheerun/vim-polyglot'
+ Plug 'phanviet/vim-monokai-pro'
call plug#end()
@@ -86,7 +94,8 @@ augroup END
set background=dark
"silent! color chocolatier
"silent! color retrobox
-silent! color ashen
+"silent! color ashen
+silent! color monokai_pro
" disable BIG jumps everywhere (shift+up / shift+down act like plain arrows)
map <S-Up> <Up>