This file contains hidden or 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
| ' パイプが存在していないなら、WezTerm経由でfnm初期化してパイプ付与したNeovim起動。パイプが存在していたらNeovimに投げる。そのあとにWezTermの指定したタブへ切り替え | |
| ' WezTerm経由のYaziから、WezTerm経由のNeovim開く用 | |
| Option Explicit | |
| Dim shell, fso, args, filepath | |
| Set shell = CreateObject("WScript.Shell") | |
| Set fso = CreateObject("Scripting.FileSystemObject") | |
| Set args = WScript.Arguments |
This file contains hidden or 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
| ' パイプが存在していないなら、WezTerm経由でfnm初期化してパイプ付与したNeovim起動。パイプが存在していたらNeovimに投げる。そのあとにWezTermのタブを閉じる | |
| ' WezTerm経由のYaziから、WezTerm経由のNeovim開く用 | |
| Option Explicit | |
| Dim shell, fso, args, filepath | |
| Set shell = CreateObject("WScript.Shell") | |
| Set fso = CreateObject("Scripting.FileSystemObject") | |
| Set args = WScript.Arguments |
This file contains hidden or 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
| ' パイプが存在していないなら、WezTerm経由でfnm初期化してパイプ付与したNeovim起動。パイプが存在していたらNeovimに投げる | |
| Option Explicit | |
| Dim shell, fso, args, filepath | |
| Set shell = CreateObject("WScript.Shell") | |
| Set fso = CreateObject("Scripting.FileSystemObject") | |
| Set args = WScript.Arguments | |
| ' --- 環境設定 --- |
This file contains hidden or 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
| ' パイプが存在していないならWezTerm経由でパイプ付与したNeovim起動。パイプが存在していたらNeovimに投げる。そのあとにWezTermの指定したタブへ切り替え | |
| ' WezTerm経由のYaziから、WezTerm経由のNeovim開く用 | |
| ' Gemini | |
| Option Explicit | |
| Dim shell, fso, args, filepath | |
| Set shell = CreateObject("WScript.Shell") | |
| Set fso = CreateObject("Scripting.FileSystemObject") | |
| Set args = WScript.Arguments |
This file contains hidden or 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
| ' パイプが存在していないならWezTerm経由でパイプ付与したNeovim起動。パイプが存在していたらNeovimに投げる。そのあとにWezTermのタブを閉じる | |
| ' WezTerm経由のYaziから、WezTerm経由のNeovim開く用 | |
| ' Gemini | |
| Option Explicit | |
| Dim shell, fso, args, filepath | |
| Set shell = CreateObject("WScript.Shell") | |
| Set fso = CreateObject("Scripting.FileSystemObject") | |
| Set args = WScript.Arguments |
This file contains hidden or 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
| # git.yazi | |
| [git] | |
| modified = { fg = "blue" } | |
| deleted = { fg = "red", bold = true } | |
| unknown_sign = " " | |
| modified_sign = "M" | |
| deleted_sign = "D" | |
| clean_sign = "✔" |
This file contains hidden or 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
| # https://yazi-rs.github.io/docs/configuration/keymap | |
| # https://github.com/sxyazi/yazi/blob/shipped/yazi-config/preset/keymap-default.toml | |
| # -------------------------------------------------------------------- | |
| [mgr] | |
| prepend_keymap = [ | |
| { on = "<C-w>", run = "close" }, | |
| # Hopping | |
| # 5回分のカーソル移動 |
This file contains hidden or 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
| # https://yazi-rs.github.io/docs/configuration/yazi | |
| # https://github.com/sxyazi/yazi/blob/shipped/yazi-config/preset/yazi-default.toml | |
| # ------------------------------------------------------------------ | |
| [mgr] | |
| sort_by = "natural" | |
| linemode = "my_default" | |
| # ------------------------------------------------------------------ | |
| [preview] |
This file contains hidden or 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
| -- 行表示 サイズ/日付 | |
| -- https://github.com/sxyazi/yazi/discussions/1643 | |
| function Linemode:size_and_mtime() | |
| local time = math.floor(self._file.cha.mtime or 0) | |
| local time_str | |
| if time == 0 then | |
| time_str = "" | |
| else | |
| time_str = os.date("%x %H:%M", time) | |
| end |
This file contains hidden or 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
| return { | |
| "mikavilpas/yazi.nvim", | |
| version = "*", | |
| cmd = "Yazi", | |
| dependencies = "nvim-lua/plenary.nvim", | |
| -- https://github.com/mikavilpas/yazi.nvim/issues/802 | |
| init = function() | |
| vim.g.loaded_netrwPlugin = 1 | |
| end, | |
| opts = { |
NewerOlder