Compare commits
3 Commits
706ed1e2e7
...
22a06955a2
| Author | SHA1 | Date | |
|---|---|---|---|
| 22a06955a2 | |||
| 4040855adb | |||
|
|
9c2a72669f |
@@ -8,7 +8,6 @@ vim.o.smartindent = true -- Automatically indent new lines
|
|||||||
vim.o.wrap = false -- Disable line wrapping
|
vim.o.wrap = false -- Disable line wrapping
|
||||||
vim.o.cursorline = true -- Highlight the current line
|
vim.o.cursorline = true -- Highlight the current line
|
||||||
vim.o.termguicolors = true -- Enable 24-bit RGB colors
|
vim.o.termguicolors = true -- Enable 24-bit RGB colors
|
||||||
vim.o.clipboard = "unnamedplus"
|
|
||||||
vim.filetype.add({ extension = { svx = "markdown" } })
|
vim.filetype.add({ extension = { svx = "markdown" } })
|
||||||
vim.opt.listchars = { tab = "\\│\\", nbsp = "␣", trail = "·", extends = "›", precedes = "‹", leadmultispace = "│ " }
|
vim.opt.listchars = { tab = "\\│\\", nbsp = "␣", trail = "·", extends = "›", precedes = "‹", leadmultispace = "│ " }
|
||||||
vim.opt.list = true
|
vim.opt.list = true
|
||||||
@@ -21,6 +20,7 @@ require('plugins.lsp')
|
|||||||
require('plugins.diffview')
|
require('plugins.diffview')
|
||||||
require('plugins.which-key')
|
require('plugins.which-key')
|
||||||
require('plugins.codecompanion')
|
require('plugins.codecompanion')
|
||||||
|
require('plugins.fff')
|
||||||
|
|
||||||
vim.cmd('syntax enable')
|
vim.cmd('syntax enable')
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,22 @@
|
|||||||
{
|
{
|
||||||
"plugins": {
|
"plugins": {
|
||||||
|
"codecompanion.nvim": {
|
||||||
|
"rev": "5b87dd95a5b62bbf198ef147b96d22751ccc1faa",
|
||||||
|
"src": "https://www.github.com/olimorris/codecompanion.nvim",
|
||||||
|
"version": "19.0.0 - 20.0.0"
|
||||||
|
},
|
||||||
"conform.nvim": {
|
"conform.nvim": {
|
||||||
"rev": "40dcec5555f960b0a04340d76eabdf4efe78599d",
|
"rev": "40dcec5555f960b0a04340d76eabdf4efe78599d",
|
||||||
"src": "https://github.com/stevearc/conform.nvim"
|
"src": "https://github.com/stevearc/conform.nvim"
|
||||||
},
|
},
|
||||||
|
"diffview.nvim": {
|
||||||
|
"rev": "4516612fe98ff56ae0415a259ff6361a89419b0a",
|
||||||
|
"src": "https://github.com/sindrets/diffview.nvim"
|
||||||
|
},
|
||||||
|
"fff.nvim": {
|
||||||
|
"rev": "fbee146c44c99b02fc00ad1d5d32f44e53e2aeec",
|
||||||
|
"src": "https://github.com/dmtrKovalenko/fff.nvim"
|
||||||
|
},
|
||||||
"mason-lspconfig.nvim": {
|
"mason-lspconfig.nvim": {
|
||||||
"rev": "a324581a3c83fdacdb9804b79de1cbe00ce18550",
|
"rev": "a324581a3c83fdacdb9804b79de1cbe00ce18550",
|
||||||
"src": "https://github.com/mason-org/mason-lspconfig.nvim"
|
"src": "https://github.com/mason-org/mason-lspconfig.nvim"
|
||||||
@@ -39,6 +52,10 @@
|
|||||||
"plenary.nvim": {
|
"plenary.nvim": {
|
||||||
"rev": "b9fd5226c2f76c951fc8ed5923d85e4de065e509",
|
"rev": "b9fd5226c2f76c951fc8ed5923d85e4de065e509",
|
||||||
"src": "https://github.com/nvim-lua/plenary.nvim"
|
"src": "https://github.com/nvim-lua/plenary.nvim"
|
||||||
|
},
|
||||||
|
"which-key.nvim": {
|
||||||
|
"rev": "3aab2147e74890957785941f0c1ad87d0a44c15a",
|
||||||
|
"src": "https://github.com/folke/which-key.nvim"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -37,6 +37,12 @@
|
|||||||
# prompt_char # prompt symbol
|
# prompt_char # prompt symbol
|
||||||
)
|
)
|
||||||
|
|
||||||
|
function prompt_my_zmx_session() {
|
||||||
|
if [[ -n $ZMX_SESSION ]]; then
|
||||||
|
p10k segment -b '%k' -f '%f' -t "[$ZMX_SESSION]"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
# The list of segments shown on the right. Fill it with less important segments.
|
# The list of segments shown on the right. Fill it with less important segments.
|
||||||
# Right prompt on the last prompt line (where you are typing your commands) gets
|
# Right prompt on the last prompt line (where you are typing your commands) gets
|
||||||
# automatically hidden when the input line reaches it. Right prompt above the
|
# automatically hidden when the input line reaches it. Right prompt above the
|
||||||
@@ -110,6 +116,7 @@
|
|||||||
# battery # internal battery
|
# battery # internal battery
|
||||||
# wifi # wifi speed
|
# wifi # wifi speed
|
||||||
# example # example user-defined segment (see prompt_example function below)
|
# example # example user-defined segment (see prompt_example function below)
|
||||||
|
my_zmx_session
|
||||||
)
|
)
|
||||||
|
|
||||||
# Defines character set used by powerlevel10k. It's best to let `p10k configure` set it for you.
|
# Defines character set used by powerlevel10k. It's best to let `p10k configure` set it for you.
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
#set-option -g remain-on-exit on
|
||||||
|
set-option -g default-shell /bin/zsh
|
||||||
set -g history-limit 30000
|
set -g history-limit 30000
|
||||||
set -g mouse on
|
# Allow Tmux to pass through OSC 52 escape sequences
|
||||||
set -g allow-passthrough on
|
set -g allow-passthrough on
|
||||||
|
|
||||||
|
set -g mouse on
|
||||||
|
set -g set-clipboard on
|
||||||
|
|||||||
Reference in New Issue
Block a user