diff --git a/.config/lvim/config.lua b/.config/lvim/config.lua deleted file mode 100644 index faccb3c..0000000 --- a/.config/lvim/config.lua +++ /dev/null @@ -1,303 +0,0 @@ ---[[ -lvim is the global options object - -Linters should be -filled in as strings with either -a global executable or a path to -an executable -]] -- THESE ARE EXAMPLE CONFIGS FEEL FREE TO CHANGE TO WHATEVER YOU WANT --- general -lvim.log.level = 'warn' -lvim.format_on_save = true -lvim.colorscheme = 'onedarker' - --- Use which-key to add extra bindings with the leader-key prefix --- lvim.builtin.which_key.mappings["P"] = { "Telescope projects", "Projects" } - --- TODO: User Config for predefined plugins --- After changing plugin config exit and reopen LunarVim, Run :PackerInstall :PackerCompile -lvim.builtin.terminal.active = true -lvim.builtin.notify.active = true -lvim.builtin.nvimtree.setup.view.side = 'left' -lvim.builtin.nvimtree.show_icons.git = 0 --- lvim.builtin.nvimtree.git = 0 --- lvim.builtin.nvimtree.setup.git.ignore = false -lvim.builtin.autopairs.fast_wrap.map = '' - --- if you don't want all the parsers change this to a table of the ones you want -lvim.builtin.treesitter.ensure_installed = { - 'bash', 'c', 'javascript', 'json', 'lua', 'python', 'typescript', 'css', - 'rust', 'java', 'yaml' -} - -lvim.builtin.treesitter.ignore_install = {'haskell'} -lvim.builtin.treesitter.highlight.enabled = true - --- generic LSP settings - --- ---@usage disable automatic installation of servers --- lvim.lsp.automatic_servers_installation = false - --- ---@usage Select which servers should be configured manually. Requires `:LvimCacheRest` to take effect. --- See the full default list `:lua print(vim.inspect(lvim.lsp.override))` --- vim.list_extend(lvim.lsp.override, { "pyright" }) - --- ---@usage setup a server -- see: https://www.lunarvim.org/languages/#overriding-the-default-configuration --- local opts = {} -- check the lspconfig documentation for a list of all possible options --- require("lvim.lsp.manager").setup("pylsp", opts) - --- you can set a custom on_attach function that will be used for all the language servers --- See --- lvim.lsp.on_attach_callback = function(client, bufnr) --- local function buf_set_option(...) --- vim.api.nvim_buf_set_option(bufnr, ...) --- end --- --Enable completion triggered by --- buf_set_option("omnifunc", "v:lua.vim.lsp.omnifunc") --- end --- you can overwrite the null_ls setup table (useful for setting the root_dir function) --- lvim.lsp.null_ls.setup = { --- root_dir = require("lspconfig").util.root_pattern("Makefile", ".git", "node_modules"), --- } --- or if you need something more advanced --- lvim.lsp.null_ls.setup.root_dir = function(fname) --- if vim.bo.filetype == "javascript" then --- eturn require("lspconfig/util").root_pattern("Makefile", ".git", "node_modules")(fname) --- or require("lspconfig/util").path.dirname(fname) --- elseif vim.bo.filetype == "php" then --- return require("lspconfig/util").root_pattern("Makefile", ".git", "composer.json")(fname) or vim.fn.getcwd() --- else --- return require("lspconfig/util").root_pattern("Makefile", ".git")(fname) or require("lspconfig/util").path.dirname(fname) --- end --- end - --- -- set a formatter, this will override the language server formatting capabilities (if it exists) -local formatters = require 'lvim.lsp.null-ls.formatters' -formatters.setup { - {exe = 'black', filetypes = {'python'}}, - {exe = 'isort', filetypes = {'python'}}, { - exe = 'lua-format', - filetypes = {'lua'}, - args = { - '--indent-width=2', '--chop-down-kv-table', - '--double-quote-to-single-quote' - } - - }, { - exe = 'prettier', - args = {'--print-width', '100'}, - filetypes = {'javascript', 'typescript', 'typescriptreact'} - } - -- { - -- exe = "prettier", - -- ---@usage arguments to pass to the formatter - -- -- these cannot contain whitespaces, options such as `--line-width 80` become either `{'--line-width', '80'}` or `{'--line-width=80'}` - -- args = { "--print-with", "100" }, - -- ---@usage specify which filetypes to enable. By default a providers will attach to all the filetypes it supports. - -- filetypes = { "typescript", "typescriptreact" }, - -- }, -} - --- -- set additional linters --- local linters = require "lvim.lsp.null-ls.linters" --- linters.setup { --- { exe = "flake8", filetypes = { "python" } }, --- { --- exe = "shellcheck", --- ---@usage arguments to pass to the formatter --- -- these cannot contain whitespaces, options such as `--line-width 80` become either `{'--line-width', '80'}` or `{'--line-width=80'}` --- args = { "--severity", "warning" }, --- }, --- { --- exe = "codespell", --- ---@usage specify which filetypes to enable. By default a providers will attach to all the filetypes it supports. --- filetypes = { "javascript", "python" }, --- }, --- } - -lvim.builtin.telescope.extensions.media_files = { - -- filetypes whitelist - -- defaults to {"png", "jpg", "mp4", "webm", "pdf"} - filetypes = {'png', 'webp', 'jpg', 'jpeg'}, - find_cmd = 'rg' -- find command (defaults to `fd`) -} - --- Additional Plugins -lvim.plugins = { - { - 'Asocia/vim-tmux-navigator', - config = function() - vim.g.tmux_navigator_disable_when_zoomed = 1 - vim.g.tmux_navigator_no_wrap = 1 - end - }, { - 'lukas-reineke/indent-blankline.nvim', - event = 'BufRead', - config = function() require('plugins.indent-blanckline') end - }, {'tpope/vim-repeat'}, {'tpope/vim-unimpaired'}, {'tpope/vim-fugitive'}, - {'tpope/vim-abolish'}, { - 'phaazon/hop.nvim', - event = 'BufRead', - config = function() - -- you can configure Hop the way you like here; see :h hop-config - require('hop').setup({ - keys = 'dhnasoeifgqcrlwvjzpymkbxut', - term_seq_bias = 1 - }) - end - }, { - 'rmagatti/goto-preview', - event = 'BufRead', - config = function() - require('goto-preview').setup { - width = 120, -- Width of the floating window - height = 25, -- Height of the floating window - default_mappings = true, -- Bind default mappings - debug = false, -- Print debug information - opacity = nil, -- 0-100 opacity level of the floating window where 100 is fully transparent. - post_open_hook = nil -- A function taking two arguments, a buffer and a window to be ran as a hook. - -- You can use "default_mappings = true" setup option - -- Or explicitly set keybindings - -- vim.cmd("nnoremap gpd lua require('goto-preview').goto_preview_definition()") - -- vim.cmd("nnoremap gpi lua require('goto-preview').goto_preview_implementation()") - -- vim.cmd("nnoremap gP lua require('goto-preview').close_all_win()") - } - end - }, {'simrat39/symbols-outline.nvim', event = 'BufRead'}, -- {'tpope/vim-dadbod'} - -- {"folke/tokyonight.nvim"}, - { - 'monaqa/dial.nvim', - event = 'BufRead', - config = function() require('plugins.dial') end - }, {'folke/trouble.nvim', cmd = 'TroubleToggle'}, { - 'iamcco/markdown-preview.nvim', - run = 'cd app && npm install', - ft = 'markdown', - cmd = 'MarkdownPreview', - config = function() vim.g.mkdp_auto_start = 1 end - }, { - 'folke/persistence.nvim', - event = 'BufReadPre', -- this will only start session saving when an actual file was opened - module = 'persistence', - config = function() - require('persistence').setup { - dir = vim.fn.expand(vim.fn.stdpath 'config' .. '/session/'), - options = {'buffers', 'curdir', 'tabpages', 'winsize'} - } - end - - }, {'felipec/vim-sanegx'}, {'tommcdo/vim-exchange', event = 'BufRead'}, { - 'lervag/vimtex', - config = function() - vim.g.vimtex_compiler_engine = 'xelatex' - vim.g.vimtex_view_method = 'zathura' - vim.g.tex_conceal = 'abdmg' - - vim.cmd([[ -" Create mapping to toggle compiling with shell escape or not - let g:vimtex_compiler_latexmk = { - \ 'build_dir' : '', - \ 'callback' : 1, - \ 'continuous' : 1, - \ 'executable' : 'latexmk', - \ 'hooks' : [], - \ 'options' : [ - \ '-verbose', - \ '-file-line-error', - \ '-synctex=1', - \ '-interaction=nonstopmode', - \ ], - \} -nnoremap :call ShellEscape() -function! ShellEscape() - if g:vimtex_compiler_latexmk.options[0] ==# '-shell-escape' - call remove(g:vimtex_compiler_latexmk.options, 0) - echo "shell escape disabled" - else - call insert(g:vimtex_compiler_latexmk.options, '-shell-escape', 0) - echo "shell escape enabled" - endif - VimtexReload -endfunction - ]]) - end - }, - {'nathom/filetype.nvim', config = function() vim.g.did_load_filetypes = 1 end}, - {'gko/vim-coloresque'}, -- {'antonk52/bad-practices.nvim', config=function () - { - 'machakann/vim-sandwich', - config = function() - vim.cmd [[ -runtime macros/sandwich/keymap/surround.vim - ]] - - end - }, -- require('bad_practices').setup({ - -- most_splits = 3, -- how many splits are considered a good practice(default: 3) - -- most_tabs = 3, -- how many tabs are considered a good practice(default: 3) - -- max_hjkl = 10, -- how many times you can spam hjkl keys in a row(default: 10) - -- }) - -- end - -- } - { - 'nvim-telescope/telescope-media-files.nvim', - config = function() require('telescope').load_extension('media_files') end - }, { - 'ray-x/lsp_signature.nvim', - config = function() require'lsp_signature'.on_attach() end, - event = 'BufRead' - }, {'junegunn/vim-easy-align'}, { - 'xiyaowong/nvim-transparent', - config = function() - require('transparent').setup({ - enable = true, -- boolean: enable transparent - extra_groups = { -- table/string: additional groups that should be clear - -- In particular, when you set it to 'all', that means all avaliable groups - - -- example of akinsho/nvim-bufferline.lua - 'BufferLineTabClose', 'BufferlineBufferSelected', 'BufferLineFill', - 'BufferLineBackground', 'BufferLineSeparator', - 'BufferLineIndicatorSelected' - }, - exclude = {} -- table: groups you don't want to clear - }) - end - - } - -} - --- Autocommands (https://neovim.io/doc/user/autocmd.html) -lvim.autocommands.custom_groups = { - -- {'ColorScheme', '*', 'lua require\'lightspeed\'.init_highlight(true)'}, - {'BufWinEnter', 'term://*', 'setlocal nonumber'}, - {'BufWinEnter,BufWinEnter', 'term://*', 'setlocal nonumber'}, - {'BufWinEnter,BufWinEnter', '*.tex', 'setlocal spell'}, - {'BufWinEnter,BufWinEnter', '*.asm', 'setlocal ft=nasm'}, - {'BufWinEnter,BufWinEnter', '*.s', 'setlocal ft=nasm'}, - {'BufWinEnter,BufWinEnter', '*.s', 'setlocal tabstop=4'}, - {'BufWinEnter,BufWinEnter', '*.s', 'setlocal shiftwidth=4'}, - {'BufWinEnter,BufWinEnter', '*.s', 'setlocal expandtab'} -} - -lvim.autocommands._cursorline = { - {'VimEnter,WinEnter,BufWinEnter', '*', 'setlocal cursorline'}, - {'WinLeave', '*', 'setlocal nocursorline'} -} -lvim.autocommands._toggle_relative_number = { - {'InsertEnter', '*', ':setlocal norelativenumber'}, - {'InsertLeave', '*', ':setlocal relativenumber'} -} - -lvim.autocommands._FirenvimOverrides = {} - -require('settings') -require('keybindings') -require('plugins.dashboard') -lvim.builtin.which_key.on_config_done = - function() require('plugins.whichkey') end - --- require'lsp_signature'.setup({ --- bind = true, -- This is mandatory, otherwise border config won't get registered. --- handler_opts = {border = 'rounded'} --- }) diff --git a/.config/lvim/lsp-settings/pyright.json b/.config/lvim/lsp-settings/pyright.json deleted file mode 100644 index e69de29..0000000 diff --git a/.config/lvim/lua/keybindings.lua b/.config/lvim/lua/keybindings.lua deleted file mode 100644 index d585e53..0000000 --- a/.config/lvim/lua/keybindings.lua +++ /dev/null @@ -1,62 +0,0 @@ --- keymappings [view all the defaults by pressing Lk] -lvim.leader = 'space' --- add your own keymapping -lvim.keys.normal_mode[''] = ':w' --- unmap a default keymapping --- lvim.keys.normal_mode[""] = "" --- edit a default keymapping --- lvim.keys.normal_mode[""] = ":q" - --- Change Telescope navigation to use j and k for navigation and n and p for history in both input and normal mode. --- we use protected-mode (pcall) just in case the plugin wasn't loaded yet. --- local _, actions = pcall(require, "telescope.actions") --- lvim.builtin.telescope.defaults.mappings = { --- -- for input mode --- i = { --- [""] = actions.move_selection_next, --- [""] = actions.move_selection_previous, --- [""] = actions.cycle_history_next, --- [""] = actions.cycle_history_prev, --- }, --- -- for normal mode --- n = { --- [""] = actions.move_selection_next, --- [""] = actions.move_selection_previous, --- }, --- } - --- use the default vim behavior for H and L -lvim.keys.normal_mode[''] = nil -lvim.keys.normal_mode[''] = nil - --- When text is wrapped, move by terminal rows, not lines, unless a count is provided -vim.api.nvim_set_keymap('n', 'j', '(v:count == 0 ? "gj" : "j")', - {noremap = true, expr = true, silent = true}) -vim.api.nvim_set_keymap('n', 'k', '(v:count == 0 ? "gk" : "k")', - {noremap = true, expr = true, silent = true}) - --- move around *visually* - --- make Y consistent with other capitals -lvim.keys.normal_mode['Y'] = 'y$' - --- easy align -lvim.keys.normal_mode['ga'] = ':EasyAlign' -lvim.keys.visual_mode['ga'] = ':EasyAlign' - --- Maintain the cursor position when yanking a visual selection --- http://ddrscott.github.io/blog/2016/yank-without-jank/ -lvim.keys.visual_mode['y'] = 'myy`y' -lvim.keys.visual_mode['Y'] = ' myY`y' - --- make . to work with visually selected lines -lvim.keys.visual_mode['.'] = ':normal . ' - --- insert mode mappings -lvim.keys.insert_mode[''] = '^' -lvim.keys.insert_mode[''] = '$' -lvim.keys.insert_mode[''] = 'w' -lvim.keys.insert_mode[''] = 'b' -lvim.keys.insert_mode[''] = 'd$' -lvim.keys.insert_mode[''] = 'd^' -lvim.keys.insert_mode[''] = 'u[s1z=`]au' diff --git a/.config/lvim/lua/plugins/autosave.lua b/.config/lvim/lua/plugins/autosave.lua deleted file mode 100644 index 020756d..0000000 --- a/.config/lvim/lua/plugins/autosave.lua +++ /dev/null @@ -1,9 +0,0 @@ -require('autosave').setup({ - enabled = vim.g.auto_save, - -- execution_message = 'autosaved at : ' .. vim.fn.strftime('%H:%M:%S'), - -- events = {'InsertLeave', 'TextChanged'}, - -- conditions = {exists = true, filetype_is_not = {}, modifiable = true}, - write_all_buffers = true, - on_off_commands = true, - clean_command_line_interval = 2500 -}) diff --git a/.config/lvim/lua/plugins/dashboard.lua b/.config/lvim/lua/plugins/dashboard.lua deleted file mode 100644 index d51e5ed..0000000 --- a/.config/lvim/lua/plugins/dashboard.lua +++ /dev/null @@ -1,14 +0,0 @@ -lvim.builtin.dashboard.active = true --- lvim.builtin.dashboard.custom_header = { --- ' _______ _____ ', --- ' ___ |__Welcome back, _________(_)______ _ ', --- ' __ /| |__ ___/_ __ \\_ ___/__ / _ __ `/ ', --- ' _ ___ |_(__ ) / /_/ // /__ _ / / /_/ / ', --- ' /_/ |_|/____/ \\____/ \\___/ /_/ \\__,_/ ' --- } -lvim.builtin.dashboard.custom_header = {} -vim.g.dashboard_preview_command = 'cat' -vim.g.dashboard_preview_pipeline = 'lolcat -F 0.2' -vim.g.dashboard_preview_file = '~/.config/Asocia/splash' -vim.g.dashboard_preview_file_height = 10 -vim.g.dashboard_preview_file_width = 45 diff --git a/.config/lvim/lua/plugins/dial.lua b/.config/lvim/lua/plugins/dial.lua deleted file mode 100644 index f9286e6..0000000 --- a/.config/lvim/lua/plugins/dial.lua +++ /dev/null @@ -1,40 +0,0 @@ -local dial = require 'dial' -vim.cmd [[ - nmap (dial-increment) - nmap (dial-decrement) - vmap (dial-increment) - vmap (dial-decrement) - vmap g (dial-increment-additional) - vmap g (dial-decrement-additional) - ]] - -dial.augends['custom#boolean'] = dial.common.enum_cyclic { - name = 'boolean', - strlist = {'true', 'false'} -} -table.insert(dial.config.searchlist.normal, 'custom#boolean') - --- For Languages which prefer True/False, e.g. python. -dial.augends['custom#Boolean'] = dial.common.enum_cyclic { - name = 'Boolean', - strlist = {'True', 'False'} -} -table.insert(dial.config.searchlist.normal, 'custom#Boolean') - -dial.augends['custom#directions'] = dial.common.enum_cyclic { - name = 'directions', - strlist = {'left', 'right', 'top', 'bottom'} -} -table.insert(dial.config.searchlist.normal, 'custom#directions') - -dial.augends['custom#yesno'] = dial.common.enum_cyclic { - name = 'yesno', - strlist = {'yes', 'no'} -} -table.insert(dial.config.searchlist.normal, 'custom#yesno') - -dial.augends['custom#YesNo'] = dial.common.enum_cyclic { - name = 'YesNo', - strlist = {'Yes', 'No'} -} -table.insert(dial.config.searchlist.normal, 'custom#YesNo') diff --git a/.config/lvim/lua/plugins/indent-blanckline.lua b/.config/lvim/lua/plugins/indent-blanckline.lua deleted file mode 100644 index a2a95ff..0000000 --- a/.config/lvim/lua/plugins/indent-blanckline.lua +++ /dev/null @@ -1,8 +0,0 @@ -require('indent_blankline').setup { - indent_blankline_char = '▏', - indent_blankline_filetype_exclude = {'help', 'terminal', 'dashboard'}, - indent_blankline_buftype_exclude = {'terminal'}, - indent_blankline_show_trailing_blankline_indent = false, - indent_blankline_show_first_indent_level = false -} - diff --git a/.config/lvim/lua/plugins/whichkey.lua b/.config/lvim/lua/plugins/whichkey.lua deleted file mode 100644 index 8861ca1..0000000 --- a/.config/lvim/lua/plugins/whichkey.lua +++ /dev/null @@ -1,65 +0,0 @@ -lvim.builtin.which_key.mappings[''] = {'', 'alternate file'} -lvim.builtin.which_key.mappings['\\'] = {':vnew', 'vsplit'} -lvim.builtin.which_key.mappings['-'] = {':new', 'hsplit'} - --- hop mappings -lvim.builtin.which_key.mappings['w'] = {':HopWord', 'Hop word'} -lvim.builtin.which_key.mappings['j'] = {':HopLineStartAC', 'Hop line'} -lvim.builtin.which_key.mappings['k'] = {':HopLineStartBC', 'Hop line'} - -lvim.builtin.which_key.mappings['r'] = { - ':set invrelativenumber', 'Toggle relative number' -} -lvim.builtin.which_key.mappings['i'] = {':SymbolsOutline', 'Index view'} - -lvim.builtin.which_key.mappings['P'] = { - 'Telescope projects', 'Projects' -} - -lvim.builtin.which_key.mappings['S'] = { - name = 'Session', - c = { - 'lua require(\'persistence\').load()', - 'Restore last session for current dir' - }, - l = { - 'lua require(\'persistence\').load({ last = true })', - 'Restore last session' - }, - Q = { - 'lua require(\'persistence\').stop()', - 'Quit without saving session' - } -} -lvim.builtin.which_key.mappings['d'] = { - -- " Available Debug Adapters: - -- " https://microsoft.github.io/debug-adapter-protocol/implementors/adapters/ - -- " Adapter configuration and installation instructions: - -- " https://github.com/mfussenegger/nvim-dap/wiki/Debug-Adapter-installation - -- " Debug Adapter protocol: - -- " https://microsoft.github.io/debug-adapter-protocol/ - -- " Debugging - name = 'Debug', - e = {':call vimspector#Reset()', 'exit debug mode'}, - l = {':call vimspector#StepInto()', 'step into'}, - j = {':call vimspector#StepOver()', 'step over'}, - h = {':call vimspector#StepOut()', 'step out'}, - k = {':call vimspector#Restart()', 'restart debugging'}, - c = {':call vimspector#Continue()', 'continue'}, - r = {':call vimspector#RunToCursor()', 'run to cursor'}, - d = {':call vimspector#Launch()', 'Launch'}, - b = {':call vimspector#ToggleBreakpoint()', 'toggle breakpoint'}, - B = {'VimspectorToggleConditionalBreakpoint', 'toggle breakpoint'}, - C = {':call vimspector#ClearBreakpoints()', 'clear breakpoints'}, - i = {'VimspectorBalloonEval', 'inspect'} -} - --- lvim.builtin.which_key.mappings['t'] = { --- name = '+Trouble', --- r = {'Trouble lsp_references', 'References'}, --- f = {'Trouble lsp_definitions', 'Definitions'}, --- d = {'Trouble lsp_document_diagnostics', 'Diagnostics'}, --- q = {'Trouble quickfix', 'QuickFix'}, --- l = {'Trouble loclist', 'LocationList'}, --- w = {'Trouble lsp_workspace_diagnostics', 'Diagnostics'} --- } diff --git a/.config/lvim/lua/settings.lua b/.config/lvim/lua/settings.lua deleted file mode 100644 index a4a42d6..0000000 --- a/.config/lvim/lua/settings.lua +++ /dev/null @@ -1,45 +0,0 @@ -vim.g.markdown_fenced_languages = {'html', 'python', 'ruby', 'vim', 'bash'} -vim.opt.relativenumber = true -vim.opt.backup = true -- creates a backup file -vim.opt.backupdir = os.getenv('HOME') .. '/.cache/nvim/backup' -vim.opt.hlsearch = false -- highlight all matches on previous search pattern -vim.opt.wrap = true -- display lines as one long line -vim.opt.conceallevel = 1 -- so that `` is visible in markdown files -vim.opt.scrolloff = 8 -- how many lines should be visible while scrolling (for context) -vim.opt.spelllang = 'en,tr' --- vim.opt.spell = false --- vim.opt.clipboard = "unnamedplus" -- allows neovim to access the system clipboard --- vim.opt.cmdheight = 2 -- more space in the neovim command line for displaying messages --- vim.opt.colorcolumn = "99999" -- fixes indentline for now --- vim.opt.completeopt = { "menuone", "noselect" } --- vim.opt.fileencoding = "utf-8" -- the encoding written to a file --- vim.opt.foldmethod = "manual" -- folding set to "expr" for treesitter based folding --- vim.opt.foldexpr = "" -- set to "nvim_treesitter#foldexpr()" for treesitter based folding --- vim.opt.guifont = "monospace:h17" -- the font used in graphical neovim applications --- vim.opt.hidden = true -- required to keep multiple buffers and open multiple buffers --- vim.opt.ignorecase = true -- ignore case in search patterns --- vim.opt.mouse = "a" -- allow the mouse to be used in neovim --- vim.opt.pumheight = 10 -- pop up menu height --- vim.opt.showmode = false -- we don't need to see things like -- INSERT -- anymore -vim.opt.showtabline = 2 -- always show tabs --- vim.opt.smartcase = true -- smart case --- vim.opt.smartindent = true -- make indenting smarter again --- vim.opt.splitbelow = true -- force all horizontal splits to go below current window --- vim.opt.splitright = true -- force all vertical splits to go to the right of current window --- vim.opt.swapfile = false -- creates a swapfile --- vim.opt.termguicolors = true -- set term gui colors (most terminals support this) --- vim.opt.timeoutlen = 100 -- time to wait for a mapped sequence to complete (in milliseconds) --- vim.opt.title = true -- set the title of window to the value of the titlestring --- opt.titlestring = "%<%F%=%l/%L - nvim" -- what the title of the window will be set to --- vim.opt.undodir = utils.join_paths(get_cache_dir() "undo") -- set an undo directory --- vim.opt.undofile = true -- enable persistent undo --- vim.opt.updatetime = 300 -- faster completion -vim.opt.writebackup = false -- if a file is being edited by another program (or was written to file while editing with another program) it is not allowed to be edited --- vim.opt.expandtab = true -- convert tabs to spaces --- vim.opt.shiftwidth = 2 -- the number of spaces inserted for each indentation --- vim.opt.tabstop = 2 -- insert 2 spaces for a tab --- vim.opt.cursorline = true -- highlight the current line --- vim.opt.number = true -- set numbered lines --- vim.opt.numberwidth = 4 -- set number column width to 2 {default 4} --- vim.opt.signcolumn = "yes" -- always show the sign column otherwise it would shift the text each time -vim.opt.sidescrolloff = 8 diff --git a/.config/lvim/spell/en.utf-8.add b/.config/lvim/spell/en.utf-8.add deleted file mode 100644 index de329cb..0000000 --- a/.config/lvim/spell/en.utf-8.add +++ /dev/null @@ -1,4 +0,0 @@ -Şahin -Akkaya -sahinakkaya -Jira diff --git a/.config/qtile/autostart.sh b/.config/qtile/autostart.sh deleted file mode 100755 index 831f551..0000000 --- a/.config/qtile/autostart.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/sh - -function run { - if ! pgrep $1 > /dev/null ; - then - $@& - fi -} - -#feh --bg-scale /usr/share/endeavouros/backgrounds/endeavouros-wallpaper.png - -nitrogen --save --set-zoom-fill ~/Pictures/Wallpapers/default.jpg -run picom & disown # --experimental-backends --vsync should prevent screen tearing on most setups if needed - -# Low battery notifier -#~/.config/qtile/scripts/check_battery.sh & disown - -# Start welcome -#run eos-welcome & disown -$HOME/.config/qtile/polybar/default/launch.sh & disown -/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 & disown # start polkit agent from GNOME diff --git a/Pictures/Screenshots/ricing/Desktop.png b/Pictures/Screenshots/ricing/Desktop.png deleted file mode 100644 index 521bd5a..0000000 Binary files a/Pictures/Screenshots/ricing/Desktop.png and /dev/null differ diff --git a/Pictures/Screenshots/ricing/locked.png b/Pictures/Screenshots/ricing/locked.png deleted file mode 100644 index 3eed981..0000000 Binary files a/Pictures/Screenshots/ricing/locked.png and /dev/null differ diff --git a/Pictures/Screenshots/ricing/nf.png b/Pictures/Screenshots/ricing/nf.png deleted file mode 100644 index 4d9a35d..0000000 Binary files a/Pictures/Screenshots/ricing/nf.png and /dev/null differ diff --git a/Pictures/Screenshots/ricing/v4-1.png b/Pictures/Screenshots/ricing/v4-1.png deleted file mode 100644 index 52ddcb6..0000000 Binary files a/Pictures/Screenshots/ricing/v4-1.png and /dev/null differ diff --git a/Pictures/Screenshots/ricing/v4-2.png b/Pictures/Screenshots/ricing/v4-2.png deleted file mode 100644 index 7d21f60..0000000 Binary files a/Pictures/Screenshots/ricing/v4-2.png and /dev/null differ diff --git a/Pictures/Screenshots/ricing/v4-3.png b/Pictures/Screenshots/ricing/v4-3.png deleted file mode 100644 index 07827b0..0000000 Binary files a/Pictures/Screenshots/ricing/v4-3.png and /dev/null differ diff --git a/Pictures/Screenshots/ricing/v4-4.png b/Pictures/Screenshots/ricing/v4-4.png deleted file mode 100644 index f14441b..0000000 Binary files a/Pictures/Screenshots/ricing/v4-4.png and /dev/null differ diff --git a/Pictures/Screenshots/ricing/v4-5.png b/Pictures/Screenshots/ricing/v4-5.png deleted file mode 100644 index cbdfa58..0000000 Binary files a/Pictures/Screenshots/ricing/v4-5.png and /dev/null differ diff --git a/Pictures/Screenshots/ricing/v4-6.png b/Pictures/Screenshots/ricing/v4-6.png deleted file mode 100644 index 93a415b..0000000 Binary files a/Pictures/Screenshots/ricing/v4-6.png and /dev/null differ diff --git a/Pictures/Screenshots/ricing/v4-7.png b/Pictures/Screenshots/ricing/v4-7.png deleted file mode 100644 index 2d3cddc..0000000 Binary files a/Pictures/Screenshots/ricing/v4-7.png and /dev/null differ diff --git a/Pictures/Screenshots/ricing/v4-8.png b/Pictures/Screenshots/ricing/v4-8.png deleted file mode 100644 index edead6a..0000000 Binary files a/Pictures/Screenshots/ricing/v4-8.png and /dev/null differ diff --git a/Pictures/Screenshots/ricing/work.png b/Pictures/Screenshots/ricing/work.png deleted file mode 100644 index 46fef5a..0000000 Binary files a/Pictures/Screenshots/ricing/work.png and /dev/null differ diff --git a/scripts/rofi/launch.sh b/scripts/rofi/launch.sh deleted file mode 100755 index 2fc1260..0000000 --- a/scripts/rofi/launch.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash - -menu="$1" - -if [ "$menu" = "music" ]; then - rofi -modi 'Music:~/scripts/rofi/music.sh' -show Music -theme music-launcher -elif [ "$menu" = "appmenu" ]; then - rofi -show drun -theme clean -elif [ "$menu" = "powermenu" ]; then - rofi -modi 'Powermenu:~/scripts/rofi/powermenu.sh' -show Powermenu -theme powermenu -location 3 -xoffset -24 -yoffset 70 -fi diff --git a/scripts/rofi/music.sh b/scripts/rofi/music.sh deleted file mode 100755 index cfaf7e6..0000000 --- a/scripts/rofi/music.sh +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/bash - -MUSIC="$HOME/music" - - -function get_music() { - IFS=$'\n' - for i in $(ls "$MUSIC" | grep -v 'thumbs'); do - name="${i%.*}" - echo -en "${i}\0icon\x1f${MUSIC}/thumbs/${name}.png\n" - done -} - - -if [ -z "$@" ]; then - echo -en "Shuffle\0icon\x1fmedia-playlist-shuffle\n" - get_music -else - if [ "$1" = "Shuffle" ]; then - $HOME/scripts/music/mpv-controller.sh start shuffle & - else - $HOME/scripts/music/mpv-controller.sh start "${MUSIC}/$1" & - fi -fi diff --git a/scripts/rofi/powermenu.sh b/scripts/rofi/powermenu.sh deleted file mode 100755 index 07b352f..0000000 --- a/scripts/rofi/powermenu.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash - - -if [ -z "$@" ]; then - echo -en "Shutdown\0icon\x1fsystem-shutdown\n" - echo -en "Logout\0icon\x1fsystem-log-out\n" - echo -en "Suspend\0icon\x1fsystem-suspend\n" - echo -en "Reboot\0icon\x1fsystem-restart\n" -else - if [ "$1" = "Shutdown" ]; then - shutdown now - elif [ "$1" = "Logout" ]; then - i3-msg exit - elif [ "$1" = "Reboot" ]; then - reboot - elif [ "$1" = "Suspend" ]; then - systemctl suspend - fi -fi