Compare commits
No commits in common. "a4b9fc3cf927aedef43263b98426eb2a1901a503" and "b963d7746eb916434462b116f81db1369262ef75" have entirely different histories.
a4b9fc3cf9
...
b963d7746e
@ -1,26 +0,0 @@
|
|||||||
return {
|
|
||||||
"hat0uma/csvview.nvim",
|
|
||||||
---@module "csvview"
|
|
||||||
---@type CsvView.Options
|
|
||||||
opts = {
|
|
||||||
parser = { comments = { "#", "//" } },
|
|
||||||
keymaps = {
|
|
||||||
-- Text objects for selecting fields
|
|
||||||
textobject_field_inner = { "if", mode = { "o", "x" } },
|
|
||||||
textobject_field_outer = { "af", mode = { "o", "x" } },
|
|
||||||
-- Excel-like navigation:
|
|
||||||
-- Use <Tab> and <S-Tab> to move horizontally between fields.
|
|
||||||
-- Use <Enter> and <S-Enter> to move vertically between rows and place the cursor at the end of the field.
|
|
||||||
-- Note: In terminals, you may need to enable CSI-u mode to use <S-Tab> and <S-Enter>.
|
|
||||||
jump_next_field_end = { "<Tab>", mode = { "n", "v" } },
|
|
||||||
jump_prev_field_end = { "<S-Tab>", mode = { "n", "v" } },
|
|
||||||
jump_next_row = { "<Enter>", mode = { "n", "v" } },
|
|
||||||
jump_prev_row = { "<S-Enter>", mode = { "n", "v" } },
|
|
||||||
},
|
|
||||||
},
|
|
||||||
cmd = { "CsvViewEnable", "CsvViewDisable", "CsvViewToggle" },
|
|
||||||
init = function()
|
|
||||||
vim.keymap.set("n", "<leader>ce", ":CsvViewEnable display_mode=border header_lnum=1<CR>")
|
|
||||||
vim.keymap.set("n", "<leader>cd", ":CsvViewDisable<CR>")
|
|
||||||
end
|
|
||||||
}
|
|
||||||
@ -13,16 +13,13 @@ return {
|
|||||||
vim.api.nvim_create_autocmd("FileType", {
|
vim.api.nvim_create_autocmd("FileType", {
|
||||||
pattern = "python",
|
pattern = "python",
|
||||||
callback = function()
|
callback = function()
|
||||||
-- vim.g.neoformat_python_autopep8 = {
|
vim.g.neoformat_python_autopep8 = {
|
||||||
-- exe = 'autopep8',
|
exe = 'autopep8',
|
||||||
-- args = {'--max-line-length', '79', '--experimental'},
|
args = {'--max-line-length', '79', '--experimental'},
|
||||||
-- -- replace = 1
|
-- replace = 1
|
||||||
-- }
|
}
|
||||||
-- vim.g.neoformat_enabled_python = {
|
|
||||||
-- 'autopep8'
|
|
||||||
-- }
|
|
||||||
vim.g.neoformat_enabled_python = {
|
vim.g.neoformat_enabled_python = {
|
||||||
'ruff'
|
'autopep8'
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
})
|
})
|
||||||
|
|||||||
@ -18,7 +18,7 @@ bindsym Control+Mod1+l exec $lock
|
|||||||
|
|
||||||
bindsym Print exec grim -g "$(slurp -d)" - | wl-copy
|
bindsym Print exec grim -g "$(slurp -d)" - | wl-copy
|
||||||
|
|
||||||
bindsym $mod+p exec kitty -e /usr/bin/expect -c "spawn python; expect \\"*>>> \\"; send \\"import numpy as np\n\\"; send \\"import sympy as sp\n\\"; send \\"import torch\n\\"; interact"
|
bindsym $mod+p exec kitty -e /usr/bin/expect -c "spawn python; expect \\"*>>> \\"; send \\"import numpy as np\n\\"; send \\"import sympy as sp\n\\"; interact"
|
||||||
bindsym $mod+Return exec $term
|
bindsym $mod+Return exec $term
|
||||||
bindsym $mod+Shift+q kill
|
bindsym $mod+Shift+q kill
|
||||||
bindsym $mod+d exec $menu
|
bindsym $mod+d exec $menu
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user