This commit is contained in:
subcrip 2024-07-04 23:27:18 +08:00
parent 638c0a18c8
commit 95f5113610
Signed by: subcrip
SSH Key Fingerprint: SHA256:dFPFi68d8C87YkFkEBU4TkcrYRySWpekRR1hbnDWUCw
3 changed files with 26 additions and 21 deletions

View File

@ -1,19 +1,21 @@
shell /home/linuxbrew/.linuxbrew/bin/zsh
# font_family Berkeley Mono
# install from AUR
# yay -S ttf-jetbrains-mono-nerd
font_family JetBrainsMono NF Regular
font_family JetBrainsMono NF
# font_family JetBrainsMono NF Regular
# font_family FiraCode Nerd Font Reg
# font_family MonoLisa Regular Nerd Font Complete Mono
# install from AUR
# yay -S ttf-victor-mono-nerd
# italic_font VictorMono NF Medium Italic
italic_font JetBrainsMono NF Italic
bold_font JetBrainsMono NF Bold
bold_italic_font JetBrainsMono NF Bold Italic
font_features JetBrainsMonoNF-Regular +zero +cv15 +cv18 +cv20 +cv11 + cv12
font_features JetBrainsMonoNF-Italic +zero +cv15 +cv18 +cv20 +cv11 + cv12
font_features JetBrainsMonoNF-Bold +zero +cv15 +cv18 +cv20 +cv11 + cv12
font_features JetBrainsMonoNF-BoldItalic +zero +cv15 +cv18 +cv20 +cv11 + cv12
# italic_font JetBrainsMono NF Italic
# bold_font JetBrainsMono NF Bold
# bold_italic_font JetBrainsMono NF Bold Italic
font_features JetBrainsMonoNF-Regular +zero +cv15 +cv18 +cv20 +cv11 +cv12
font_features JetBrainsMonoNF-Italic +zero +cv15 +cv18 +cv20 +cv11 +cv12
font_features JetBrainsMonoNF-Bold +zero +cv15 +cv18 +cv20 +cv11 +cv12
font_features JetBrainsMonoNF-BoldItalic +zero +cv15 +cv18 +cv20 +cv11 +cv12
# font_features FiraCodeNF-Reg +ss09 +ss10 +cv06 +cv27
font_size 14
disable_ligatures cursor

View File

@ -17,7 +17,7 @@
"cmp-nvim-lsp": { "branch": "main", "commit": "39e2eda76828d88b773cc27a3f61d2ad782c922d" },
"cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
"cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" },
"codesnap.nvim": { "branch": "main", "commit": "08d7588ea03af711e8d6c4b94736e223f0464d18" },
"codesnap.nvim": { "branch": "main", "commit": "8f03a0795bc3321c2d75233076f13bbb92bdbfb5" },
"diffview.nvim": { "branch": "main", "commit": "4516612fe98ff56ae0415a259ff6361a89419b0a" },
"dressing.nvim": { "branch": "master", "commit": "6741f1062d3dc6e4755367a7e9b347b553623f04" },
"eslint.nvim": { "branch": "main", "commit": "158f2289907d377018752fcfe0d61b746dc11767" },
@ -32,7 +32,7 @@
"hlargs.nvim": { "branch": "main", "commit": "cc0d9ee75e5ffba730393049119361b9e3a5b1b6" },
"hop.nvim": { "branch": "master", "commit": "036462a345792279c58f2f6445756efab706f04a" },
"indent-blankline.nvim": { "branch": "master", "commit": "65e20ab94a26d0e14acac5049b8641336819dfc7" },
"lazy.nvim": { "branch": "main", "commit": "cea5920abb202753004440f94ec39bcf2927e02e" },
"lazy.nvim": { "branch": "main", "commit": "6fdd904ee45b66d933c5d2f72bcec337e13744f8" },
"lazydev.nvim": { "branch": "main", "commit": "78d8a11fbd02ad4eafa07dd8a43a959a69fb3bf8" },
"legendary.nvim": { "branch": "master", "commit": "847af406e688e172934ec91ba12088ffcd497e1f" },
"listish.nvim": { "branch": "master", "commit": "3bc4bb02036f3802c6428c6232633d3192ac3604" },
@ -58,23 +58,22 @@
"nvim-numbertoggle": { "branch": "main", "commit": "c5827153f8a955886f1b38eaea6998c067d2992f" },
"nvim-origami": { "branch": "main", "commit": "c824f470e0c177707822c37b13087ab1dd7ddf91" },
"nvim-surround": { "branch": "main", "commit": "ec2dc7671067e0086cdf29c2f5df2dd909d5f71f" },
"nvim-treesitter": { "branch": "master", "commit": "caf275382f91ec8a2498d455c4d7d3fd0265ebd3" },
"nvim-treesitter-context": { "branch": "master", "commit": "cc908326c93473041d44398d5ebfa2bb4169d649" },
"nvim-treesitter": { "branch": "master", "commit": "acc1708b962e12cc1d671cd530782727801804c3" },
"nvim-treesitter-context": { "branch": "master", "commit": "2e5aef3d3013482ace17306b1fd1183c6e6c9eb1" },
"nvim-treesitter-endwise": { "branch": "master", "commit": "8b34305ffc28bd75a22f5a0a9928ee726a85c9a6" },
"nvim-treesitter-refactor": { "branch": "master", "commit": "65ad2eca822dfaec2a3603119ec3cc8826a7859e" },
"nvim-treesitter-textobjects": { "branch": "master", "commit": "34867c69838078df7d6919b130c0541c0b400c47" },
"nvim-web-devicons": { "branch": "master", "commit": "c0cfc1738361b5da1cd0a962dd6f774cc444f856" },
"oil.nvim": { "branch": "master", "commit": "b15e4c1e647b9ddbb75a31caeb720b3b3ce4db54" },
"oil.nvim": { "branch": "master", "commit": "b5a1abfde00eead6814cae3321e4c90ff98cfff1" },
"outline.nvim": { "branch": "main", "commit": "028e0bc8ad3d511e9fc1f0678594a608eb908ee5" },
"plenary.nvim": { "branch": "master", "commit": "a3e3bc82a3f95c5ed0d7201546d5d2c19b20d683" },
"prettier.nvim": { "branch": "main", "commit": "d98e732cb73690b07c00c839c924be1d1d9ac5c2" },
"search.nvim": { "branch": "main", "commit": "7b8f2315d031be73e14bc2d82386dfac15952614" },
"search.nvim": { "branch": "main", "commit": "27191f6c10a13c8018136b2490342d35960ed0ab" },
"sg.nvim": { "branch": "master", "commit": "8bdd4d19da2268072708d5fe18fda9c23e16509d" },
"smart-open.nvim": { "branch": "0.2.x", "commit": "87626ee8748b9bba22093adec7bb58c63e7214f0" },
"spaceless.nvim": { "branch": "main", "commit": "8d46bc098dba18d4e19bce89bf19aab5007ef767" },
"sqlite.lua": { "branch": "master", "commit": "d0ffd703b56d090d213b497ed4eb840495f14a11" },
"sqls.nvim": { "branch": "main", "commit": "4b1274b5b44c48ce784aac23747192f5d9d26207" },
"tabular": { "branch": "master", "commit": "29a6b21dd991477a9e137fe8891947e2f2e8bb45" },
"tabular": { "branch": "master", "commit": "12437cd1b53488e24936ec4b091c9324cafee311" },
"telescope-fzf-native.nvim": { "branch": "main", "commit": "cf48d4dfce44e0b9a2e19a008d6ec6ea6f01a83b" },
"telescope-fzy-native.nvim": { "branch": "master", "commit": "282f069504515eec762ab6d6c89903377252bf5b" },
"telescope-git-file-history.nvim": { "branch": "master", "commit": "f94fab1d5a51fa28dd95b1a6bd377505dc1a8e82" },
@ -82,7 +81,7 @@
"telescope.nvim": { "branch": "master", "commit": "d90956833d7c27e73c621a61f20b29fdb7122709" },
"tiny-devicons-auto-colors.nvim": { "branch": "main", "commit": "9be4af5b1bc1f26a11206ed7ce8bf44312e7941a" },
"todo-comments.nvim": { "branch": "main", "commit": "51e10f838e84b4756c16311d0b1ef0972c6482d2" },
"trouble.nvim": { "branch": "main", "commit": "0fe430e953a6c47433ef923555dfe9a42351113a" },
"trouble.nvim": { "branch": "main", "commit": "42dcb58e95723f833135d5cf406c38bd54304389" },
"twilight.nvim": { "branch": "main", "commit": "8b7b50c0cb2dc781b2f4262a5ddd57571556d1e4" },
"vim-cursorword": { "branch": "master", "commit": "34852083276c1fd9ff4cccaf052111e7d5a2472e" },
"vim-fugitive": { "branch": "master", "commit": "d0c1a437536778bcc8174b7cb2ffdf98f611e6fe" },

View File

@ -25,6 +25,8 @@ vim.cmd("set scrolloff=10")
vim.cmd("set foldmethod=expr")
vim.cmd("set foldexpr=nvim_treesitter#foldexpr()")
vim.cmd("set foldlevelstart=99")
vim.cmd("set list")
vim.cmd("set listchars=trail:▓")
-- vim.cmd("set guicursor=i:ver25-blinkon500-blinkoff500,a:ver25-iCursor")
vim.cmd("set noshowmode")
vim.diagnostic.config({
@ -332,7 +334,8 @@ local plugins = {
},
{ 'rmagatti/goto-preview' },
{
"FabianWirth/search.nvim", -- Add tabs to Telescope search
-- dir = '/home/user/Documents/search.nvim',
"arielherself/search.nvim", -- Add tabs to Telescope search
dependencies = { "nvim-telescope/telescope.nvim" }
},
{
@ -408,9 +411,6 @@ local plugins = {
require('tiny-devicons-auto-colors').setup {}
end,
},
{
'lewis6991/spaceless.nvim', -- Automatically remove trailing space
},
{
'stevearc/oil.nvim',
opts = {},
@ -1095,6 +1095,10 @@ vim.api.nvim_exec_autocmds('User', { pattern = 'LspAttached' })
require("telescope").setup {
defaults = {
layout_config = {
prompt_position = 'top',
},
sorting_strategy = 'ascending',
mappings = {
i = {
["<C-j>"] = require("telescope.actions").move_selection_next,