source-file ~/.tmux.reset.conf
set-option -g default-terminal 'screen-254color'
set-option -g terminal-overrides ',xterm-256color:RGB'
set-option -g prefix ^A
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Plugin Manager: install plugins | |
----------------------------------------------------------- | |
local vim = vim | |
local execute = vim.api.nvim_command | |
local fn = vim.fn | |
local package_root = require('utils').get_package_root() | |
local install_path = require('utils').get_install_path() | |
local compile_path = require('utils').get_compile_path() | |
local packer_bootstrap |
在 Neovim 使用正規表達式,進行文字的更換(Search and Replace)作業,幾近無所不能。但正規表達式的撰寫,有時會令人頗為心煩, 因為總要為符合「正規表達表的應用規則」,在某些字元之前補上個 "\" (反斜線),以免正規表達式的解析會「誤解」。可是,補上了反斜線之後,卻導致閱讀不易,使用者的思緒反倒被搞亂了。
在 Neovim 中,使用 \v
前綴可以開啟“very magic”模式的正規表達式。在這種模式下,正則表達式的語法更加簡單和直觀,並且不需要像在默認模式下那樣多次使用反斜線 \
來轉義特殊字符。
在“very magic”模式下,特殊字符(如 ()[]{}.*+?^$
等)將被視為元字符,不需要額外的轉義。
近日,每當在 Neovim 使用 neogit 插件,進行檔案變更後納管作業時,總會看到一道「快閃即過」的警示訊息!
由於不具備:一目瞭然,可以速讀的本事,對此一閃即過的警示訊息,我能補捉到的概廓,好像在說:「Neogit 易主了...!」
本想不理,但... 每當想要 commit 變更後的檔案,欲將之存檔時,那道警示便會又再閃現。感覺煩了,今天好好調查一下......
哦~~~!Neovim 可用的 Neogit 插件「搬家」了。
使用 Neovim 0.9 ,搭配如下插件(Plugins),記述《使用者需求》:
- PlantUML Previewer: weirongxu/plantuml-previewer.vim
- Vim Syntax file for PlantUML: aklt/plantuml-syntax
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass[]{article} | |
\usepackage[UTF8]{ctex} | |
%\usepackage[paperwidth=21cm,paperheight=29.7cm]{geometry} | |
\usepackage{geometry} | |
\geometry{a4paper,left=1cm,right=1cm,top=3cm,bottom=3cm} | |
\usepackage{xeCJK} | |
\setCJKmainfont{Noto Serif CJK TC} | |
\setmainfont{AR PL UMing TW} | |
\usepackage{ruby} | |
\renewcommand\rubysep{-0.6em} |
NewerOlder