Skip to content

Commit 215addf

Browse files
khaydarovkhaydarov
authored andcommitted
add python support, some keymap and options
1 parent 098f430 commit 215addf

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

init.lua

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,10 @@ vim.opt.timeoutlen = 300
140140
vim.opt.splitright = true
141141
vim.opt.splitbelow = true
142142

143+
-- If i put this 2 line here swap window goaway
144+
vim.o.backup = false
145+
vim.o.swapfile = false
146+
143147
-- Sets how neovim will display certain whitespace characters in the editor.
144148
-- See `:help 'list'`
145149
-- and `:help 'listchars'`
@@ -163,6 +167,10 @@ vim.opt.confirm = true
163167
-- [[ Basic Keymaps ]]
164168
-- See `:help vim.keymap.set()`
165169

170+
-- Multitab if it can be call that, you visual (<S-v>) some line and can tab all line in one time
171+
vim.keymap.set('x', '<S-tab>', '<gv')
172+
vim.keymap.set('x', '<tab>', '>gv|')
173+
166174
-- Clear highlights on search when pressing <Esc> in normal mode
167175
-- See `:help hlsearch`
168176
vim.keymap.set('n', '<Esc>', '<cmd>nohlsearch<CR>')
@@ -770,6 +778,7 @@ require('lazy').setup({
770778
lua = { 'stylua' },
771779
go = { 'gofmt', 'goimports' },
772780
bash = { 'shfmt' },
781+
python = { 'black', 'ruff', 'isort' },
773782
-- Conform can also run multiple formatters sequentially
774783
-- python = { "isort", "black" },
775784
--

lua/kickstart/plugins/neo-tree.lua

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ return {
1616
opts = {
1717
popup_border_style = 'NC', -- or "" to use 'winborder' on Neovim v0.11+
1818
filesystem = {
19+
filtered_items = {
20+
visible = true, -- This is what you want: If you set this to `true`, all "hide" just mean "dimmed out"
21+
hide_dotfiles = false,
22+
hide_gitignored = false,
23+
},
1924
window = {
2025
mappings = {
2126
['\\'] = 'close_window',

0 commit comments

Comments
 (0)