From 293e76e8cc9ae69d59480d732c9a861adabaed99 Mon Sep 17 00:00:00 2001 From: Julian Mutter Date: Thu, 1 Feb 2024 12:45:48 +0100 Subject: [PATCH] Deleted configs already migrated to nix --- non-nix/alacritty/alacritty.toml | 8 -- non-nix/direnvrc | 1 - non-nix/starship/starship.toml | 14 -- non-nix/vim/.vimrc | 164 ----------------------- non-nix/vim/init.vim | 223 ------------------------------- 5 files changed, 410 deletions(-) delete mode 100644 non-nix/alacritty/alacritty.toml delete mode 100644 non-nix/direnvrc delete mode 100644 non-nix/starship/starship.toml delete mode 100644 non-nix/vim/.vimrc delete mode 100644 non-nix/vim/init.vim diff --git a/non-nix/alacritty/alacritty.toml b/non-nix/alacritty/alacritty.toml deleted file mode 100644 index 42fdc41..0000000 --- a/non-nix/alacritty/alacritty.toml +++ /dev/null @@ -1,8 +0,0 @@ -import = [ - "~/.config/alacritty/theme/themes/smoooooth.toml" -] - -[[keyboard.bindings]] -chars = "fzf-z \r" -key = "Z" -mods = "Control" diff --git a/non-nix/direnvrc b/non-nix/direnvrc deleted file mode 100644 index 32f3e36..0000000 --- a/non-nix/direnvrc +++ /dev/null @@ -1 +0,0 @@ -source /run/current-system/sw/share/nix-direnv/direnvrc diff --git a/non-nix/starship/starship.toml b/non-nix/starship/starship.toml deleted file mode 100644 index 8679ea9..0000000 --- a/non-nix/starship/starship.toml +++ /dev/null @@ -1,14 +0,0 @@ -# newline between shell prompts -add_newline = false -#format = "$all$directory$character" - -[line_break] -disabled = true - -[directory] -fish_style_pwd_dir_length = 1 - -[status] -map_symbol = true -format = '[$symbol$status $common_meaning$signal_name$maybe_int]($style) ' -disabled = false diff --git a/non-nix/vim/.vimrc b/non-nix/vim/.vimrc deleted file mode 100644 index 57fcd45..0000000 --- a/non-nix/vim/.vimrc +++ /dev/null @@ -1,164 +0,0 @@ -" URL: https://vim.wikia.com/wiki/Example_vimrc -" Authors: https://vim.wikia.com/wiki/Vim_on_Libera_Chat -" Description: A minimal, but feature rich, example .vimrc. If you are a -" newbie, basing your first .vimrc on this file is a good choice. -" If you're a more advanced user, building your own .vimrc based -" on this file is still a good idea. - -"------------------------------------------------------------ -" Features {{{1 -" -" These options and commands enable some very useful features in Vim, that -" no user should have to live without. - -" Set 'nocompatible' to ward off unexpected things that your distro might -" have made, as well as sanely reset options when re-sourcing .vimrc -set nocompatible - -" Attempt to determine the type of a file based on its name and possibly its -" contents. Use this to allow intelligent auto-indenting for each filetype, -" and for plugins that are filetype specific. -if has('filetype') - filetype indent plugin on -endif - -" Enable syntax highlighting -if has('syntax') - syntax on -endif - -"------------------------------------------------------------ -" Must have options {{{1 -" -" These are highly recommended options. - -" Vim with default settings does not allow easy switching between multiple files -" in the same editor window. Users can use multiple split windows or multiple -" tab pages to edit multiple files, but it is still best to enable an option to -" allow easier switching between files. -" -" One such option is the 'hidden' option, which allows you to re-use the same -" window and switch from an unsaved buffer without saving it first. Also allows -" you to keep an undo history for multiple files when re-using the same window -" in this way. Note that using persistent undo also lets you undo in multiple -" files even in the same window, but is less efficient and is actually designed -" for keeping undo history after closing Vim entirely. Vim will complain if you -" try to quit without saving, and swap files will keep you safe if your computer -" crashes. -set hidden - -" Note that not everyone likes working this way (with the hidden option). -" Alternatives include using tabs or split windows instead of re-using the same -" window as mentioned above, and/or either of the following options: -" set confirm -" set autowriteall - -" Better command-line completion -set wildmenu - -" Show partial commands in the last line of the screen -set showcmd - -" Highlight searches (use to temporarily turn off highlighting; see the -" mapping of below) -set hlsearch - -" Modelines have historically been a source of security vulnerabilities. As -" such, it may be a good idea to disable them and use the securemodelines -" script, . -" set nomodeline - - -"------------------------------------------------------------ -" Usability options {{{1 -" -" These are options that users frequently set in their .vimrc. Some of them -" change Vim's behaviour in ways which deviate from the true Vi way, but -" which are considered to add usability. Which, if any, of these options to -" use is very much a personal preference, but they are harmless. - -" Use case insensitive search, except when using capital letters -set ignorecase -set smartcase - -" Allow backspacing over autoindent, line breaks and start of insert action -set backspace=indent,eol,start - -" When opening a new line and no filetype-specific indenting is enabled, keep -" the same indent as the line you're currently on. Useful for READMEs, etc. -set autoindent - -" Stop certain movements from always going to the first character of a line. -" While this behaviour deviates from that of Vi, it does what most users -" coming from other editors would expect. -set nostartofline - -" Display the cursor position on the last line of the screen or in the status -" line of a window -set ruler - -" Always display the status line, even if only one window is displayed -set laststatus=2 - -" Instead of failing a command because of unsaved changes, instead raise a -" dialogue asking if you wish to save changed files. -set confirm - -" Use visual bell instead of beeping when doing something wrong -set visualbell - -" And reset the terminal code for the visual bell. If visualbell is set, and -" this line is also included, vim will neither flash nor beep. If visualbell -" is unset, this does nothing. -set t_vb= - -" Enable use of the mouse for all modes -if has('mouse') - set mouse=a -endif - -" Set the command window height to 2 lines, to avoid many cases of having to -" "press to continue" -set cmdheight=2 - -" Display line numbers on the left -set number relativenumber - -" Quickly time out on keycodes, but never time out on mappings -set notimeout ttimeout ttimeoutlen=200 - -" Use to toggle between 'paste' and 'nopaste' -set pastetoggle= - - -"------------------------------------------------------------ -" Indentation options {{{1 -" -" Indentation settings according to personal preference. - -" Indentation settings for using 4 spaces instead of tabs. -" Do not change 'tabstop' from its default value of 8 with this setup. -set shiftwidth=4 -set softtabstop=4 -set expandtab - -" Indentation settings for using hard tabs for indent. Display tabs as -" four characters wide. -"set shiftwidth=4 -"set tabstop=4 - - -"------------------------------------------------------------ -" Mappings {{{1 -" -" Useful mappings - -" Map Y to act like D and C, i.e. to yank until EOL, rather than act as yy, -" which is the default -map Y y$ - -" Map (redraw screen) to also turn off search highlighting until the -" next search -nnoremap :nohl - -"------------------------------------------------------------ diff --git a/non-nix/vim/init.vim b/non-nix/vim/init.vim deleted file mode 100644 index 11a7e4f..0000000 --- a/non-nix/vim/init.vim +++ /dev/null @@ -1,223 +0,0 @@ -" URL: http://vim.wikia.com/wiki/Example_vimrc -" Authors: http://vim.wikia.com/wiki/Vim_on_Freenode -" Description: A minimal, but feature rich, example .vimrc. If you are a -" newbie, basing your first .vimrc on this file is a good choice. -" If you're a more advanced user, building your own .vimrc based -" on this file is still a good idea. - -"------------------------------------------------------------ -" Features {{{1 -" -" These options and commands enable some very useful features in Vim, that -" no user should have to live without. - -" Set 'nocompatible' to ward off unexpected things that your distro might -" have made, as well as sanely reset options when re-sourcing .vimrc -set nocompatible - -" Attempt to determine the type of a file based on its name and possibly its -" contents. Use this to allow intelligent auto-indenting for each filetype, -" and for plugins that are filetype specific. -if has('filetype') - filetype indent plugin on -endif - -" Enable syntax highlighting -if has('syntax') - syntax on -endif - -" Set leader key -let mapleader = " " - -" Plugins -" call plug#begin() - - -" Plug 'itchyny/lightline.vim' -" Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' } -" Plug 'Valloric/YouCompleteMe' -" Plug 'iamcco/markdown-preview.nvim', { 'do': { -> mkdp#util#install() }, 'for': ['markdown', 'vim-plug']} -" Plug 'https://github.com/ap/vim-css-color.git' -" Plug 'vim-autoformat/vim-autoformat' - -" Collection of common configurations for the Nvim LSP client -" Plug 'neovim/nvim-lspconfig' - -" Extensions to built-in LSP, for example, providing type inlay hints -" Plug 'nvim-lua/lsp_extensions.nvim' - -" Autocompletion framework for built-in LSP -" Plug 'hrsh7th/nvim-compe' - -" Popup telescope -" Plug 'nvim-lua/popup.nvim' -" Plug 'nvim-lua/plenary.nvim' -" Plug 'nvim-telescope/telescope.nvim' - -" Plug 'joshdick/onedark.vim' - -" Plug 'tpope/vim-commentary' - -" call plug#end() - -"------------------------------------------------------------ -" Must have options {{{1 -" -" These are highly recommended options. - -" Vim with default settings does not allow easy switching between multiple files -" in the same editor window. Users can use multiple split windows or multiple -" tab pages to edit multiple files, but it is still best to enable an option to -" allow easier switching between files. -" -" One such option is the 'hidden' option, which allows you to re-use the same -" window and switch from an unsaved buffer without saving it first. Also allows -" you to keep an undo history for multiple files when re-using the same window -" in this way. Note that using persistent undo also lets you undo in multiple -" files even in the same window, but is less efficient and is actually designed -" for keeping undo history after closing Vim entirely. Vim will complain if you -" try to quit without saving, and swap files will keep you safe if your computer -" crashes. -set hidden - -" Note that not everyone likes working this way (with the hidden option). -" Alternatives include using tabs or split windows instead of re-using the same -" window as mentioned above, and/or either of the following options: -" set confirm -" set autowriteall - -" Better command-line completion -set wildmenu - -" Show partial commands in the last line of the screen -set showcmd - -" Highlight searches (use to temporarily turn off highlighting; see the -" mapping of below) -set hlsearch - -" Modelines have historically been a source of security vulnerabilities. As -" such, it may be a good idea to disable them and use the securemodelines -" script, . -" set nomodeline - - -"------------------------------------------------------------ -" Usability options {{{1 -" -" These are options that users frequently set in their .vimrc. Some of them -" change Vim's behaviour in ways which deviate from the true Vi way, but -" which are considered to add usability. Which, if any, of these options to -" use is very much a personal preference, but they are harmless. - -" Use case insensitive search, except when using capital letters -set ignorecase -set smartcase - -" Allow backspacing over autoindent, line breaks and start of insert action -set backspace=indent,eol,start - -" When opening a new line and no filetype-specific indenting is enabled, keep -" the same indent as the line you're currently on. Useful for READMEs, etc. -set autoindent - -" Stop certain movements from always going to the first character of a line. -" While this behaviour deviates from that of Vi, it does what most users -" coming from other editors would expect. -set nostartofline - -" Display the cursor position on the last line of the screen or in the status -" line of a window -set ruler - -" Always display the status line, even if only one window is displayed -set laststatus=2 - -" Instead of failing a command because of unsaved changes, instead raise a -" dialogue asking if you wish to save changed files. -set confirm - -" Use visual bell instead of beeping when doing something wrong -set visualbell - -" And reset the terminal code for the visual bell. If visualbell is set, and -" this line is also included, vim will neither flash nor beep. If visualbell -" is unset, this does nothing. -set t_vb= - -" Enable use of the mouse for all modes -if has('mouse') - set mouse=a -endif - -" Set the command window height to 2 lines, to avoid many cases of having to -" "press to continue" -set cmdheight=2 - -" Display line numbers on the left -set number relativenumber - -" Quickly time out on keycodes, but never time out on mappings -set notimeout ttimeout ttimeoutlen=200 - -" Use to toggle between 'paste' and 'nopaste' -set pastetoggle= - - -"------------------------------------------------------------ -" Indentation options {{{1 -" -" Indentation settings according to personal preference. - -" Indentation settings for using 4 spaces instead of tabs. -" Do not change 'tabstop' from its default value of 8 with this setup. -set shiftwidth=4 -set softtabstop=4 -set expandtab - -" Indentation settings for using hard tabs for indent. Display tabs as -" four characters wide. -"set shiftwidth=4 -"set tabstop=4 - - -"------------------------------------------------------------ -" Mappings {{{1 -" -" Useful mappings - -" Map Y to act like D and C, i.e. to yank until EOL, rather than act as yy, -" which is the default -map Y y$ - -" Map (redraw screen) to also turn off search highlighting until the -" next search -nnoremap :nohl - -" Shortcuts for Ycm -"nnoremap :YcmCompleter Format -"nnoremap :YcmCompleter GoTo - -nnoremap :NERDTreeToggle -nnoremap n :NERDTreeToggle - -"------------------------------------------------------------ - -" use Mouse clipboard instead of vims internal one -" use unnamedplus for Keyboard clipboard -set clipboard=unnamedplus - -" For mouse selection clipboard, select text with Shift button pressed - -" Find files using Telescope command-line sugar. -" nnoremap ff Telescope find_files -"nnoremap fg Telescope live_grep -"nnoremap fb Telescope buffers -"nnoremap fh Telescope help_tags - -" !!! Uncomment the following line to load lsp functionality -" Remember to also uncomment the corresponding plugins at the top of this -" file. -" Maybe use doom emacs instead -" :lua require('lsp')