clone of my dotfiles.ssp.sh
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

remove vim as not up-to-date

sspaeti d10a8bf1 5153f733

-193
-33
pylintrc
··· 1 - [MESSAGES CONTROL] 2 - 3 - # Enable the message, report, category or checker with the given id(s). You can 4 - # either give multiple identifier separated by comma (,) or put this option 5 - # multiple time. 6 - #enable= 7 - 8 - # Disable the message, report, category or checker with the given id(s). You 9 - # can either give multiple identifier separated by comma (,) or put this option 10 - # multiple time (only on the command line, not in the configuration file where 11 - # it should appear only once).# 12 - # 13 - # R - refactoring related checks => snake_case 14 - # C - convention related checks 15 - # W0511 disable TODO warning 16 - # W1201, W1202 disable log format warning. False positives (I think) 17 - # W0231 disable super-init-not-called - pylint doesn't understand six.with_metaclass(ABCMeta) 18 - # W0707 disable raise-missing-from which we cant use because py2 back compat 19 - 20 - disable=R,duplicate-code,W0231,W0511,W1201,W1202,W0707,no-init 21 - 22 - # See: https://github.com/getsentry/responses/issues/74 23 - [TYPECHECK] 24 - ignored-classes=responses 25 - signature-mutators=solid,composite_solid,lambda_solid,configured 26 - 27 - [MASTER] 28 - ignore=snapshots 29 - load-plugins=dagster.utils.linter 30 - 31 - # See: https://stackoverflow.com/questions/40163106/cannot-find-col-function-in-pyspark 32 - generated-members=pyspark.* 33 - ignored-modules=pyspark.sql.functions
-100
vim/vim-shortcuts.md
··· 1 - latest are in obsidian://open?vault=SecondBrain&file=%F0%9F%92%A1%20Resources%2F%F0%9F%8C%8D%20Wiki%20%F0%9F%93%82%20Files%2F%F0%9F%90%A7%20Linux%2FVim%20%26%20Tmux%2FVim%20and%20Tmux%20Shortcuts 2 - 3 - 4 - # learning VIM 5 - 6 - commands I learned and useful 7 - 8 - zz -> centers your cursor to the middle 9 - ; -> if you search something with f or t, it will search for the next one 10 - gg -> start and G -> end 11 - w -> goes one word and W goes further, same for back with b and B 12 - b -> goes one word back 13 - e -> move to the end of your word 14 - % -> toggles between parentese forth and back if your inside one 15 - \* -> toggles through all your variable or word on in your text -> with # you toggle backwards 16 - o -> will insert a new line and put you into insert mode directly. O will due it above 17 - C -> puts you into insert and replace until end of line 18 - a -> Insert text after the cursor 19 - A -> will put you into i mode and jump to end of line 20 - I -> Insert mode at the beginning of the line 21 - i -> go into insert mode before the cursor 22 - x -> will delete one character where your cursor is 23 - ~ -> will toggle the case 24 - ZZ : closes file same as :wq except it will not write anything to disk if nothing has changed. :x does the same 25 - 26 - f -> find a character, with ; next. with F you find backward 27 - t -> find to a character. with ; next. With T you find backward 28 - 29 - ## More Navigation 30 - 31 - ^U: move up half a screen 32 - ^D: move down half a screen 33 - L: puts cursor into lowest part of your code 34 - M: puts cursor in the middle part of your code 35 - H: puts cursort to the top (high?) part of your code 36 - Ctrl-i: jump to your previous navigation location 37 - ctrl-r : replace 38 - Ctrl-o: jump back to where you were 39 - J: join the current line with the next one (delete what's between) 40 - 41 - ## Do even more Navigation 42 - 43 - ctrl+p: fuzzy finding for files 44 - :e open a new file 45 - ctrl+ˆ: toggle between two open files 46 - 47 - ### local marks 48 - 49 - m-any-key: set a marker on that key. with '-any-key you can jump back to that marker. you can set multiple markers 50 - useful when you work in a file for long! 51 - 52 - ### global marks 53 - 54 - same as local also set with m, but this time the any key will be capitalized 55 - 56 - ### buffer operation 57 - 58 - c-^ switching between latest two files in buffer 59 - :b starting-file-name <tab> will serach your buffer and let you switch between files 60 - :bd closes/deletes current buffer (will not delete when you saved, it just unloads from buffer) 61 - 62 - ## window operations 63 - 64 - ctrl+w: entering window mode 65 - then: 66 - v: vertical split 67 - s: horizontal split 68 - 69 - o: closes all except current one that I-m in 70 - :resize 10 for 10 rows or :resize vertical 10 for columns 71 - :Ex opens the file-three 72 - 73 - ## visual mode 74 - 75 - v -> visual mode (characters) 76 - V -> line mode 77 - ctrl + v -> column mode! 78 - ctrl+v and any command after hit ESC -> will do it on all selected lines of columns 79 - 80 - ## recording macros 81 - 82 - q -> record macros! after you need to say where to save. e.g. safe on a character. you can applay it with @ and that character. hit q to stop/save the recording. 83 - 84 - . -> redo any cmd you did before !! 85 - 86 - ## text-objects or nouns 87 - 88 - p -> change paragraph 89 - w -> word 90 - s -> sentense 91 - 92 - [ ( { < -> A [], (), or {} block 93 - t -> tag 94 - b -> block B-> block in 95 - R -> Insert mode -> replaces existing text 96 - r -> replace one character 97 - 98 - # Learnings 99 - 100 - Ctrl+r" - Insert the contents of the " register, aka the last yank/delete. e.g. if you want to replace single quotes with double: ciw'Ctrl+r"'
-60
vim/vimrc
··· 1 - syntax on 2 - 3 - " Ignore files 4 - set wildignore+=*.pyc 5 - set wildignore+=*_build/* 6 - set wildignore+=**/coverage/* 7 - set wildignore+=**/.git/* 8 - 9 - " search related 10 - set hlsearch 11 - set ignorecase 12 - set incsearch 13 - set smartcase 14 - 15 - "general 16 - colorscheme onedark 17 - let mapleader = " " 18 - inoremap jk <ESC> 19 - filetype plugin indent on 20 - 21 - set ruler " show the cursor position all the time 22 - set showcmd " display incomplete commands 23 - set laststatus=2 " Always display the status line 24 - 25 - set number 26 - set numberwidth=5 27 - set relativenumber 28 - 29 - " Find files using Telescope command-line sugar. 30 - nnoremap <leader>ff <cmd>Telescope find_files<cr> 31 - nnoremap <leader>fg <cmd>Telescope live_grep<cr> 32 - nnoremap <leader>fb <cmd>Telescope buffers<cr> 33 - nnoremap <leader>fh <cmd>Telescope help_tags<cr> 34 - nnoremap <C-p> <cmd>Telescope find_files<cr> 35 - 36 - "auto format on save with Black 37 - autocmd BufWritePre *.py execute ':Black' 38 - 39 - "plugs to intall 40 - call plug#begin('~/.vim/bundle') 41 - "theme 42 - Plug 'joshdick/onedark.vim' 43 - Plug 'sheerun/vim-polyglot' 44 - 45 - Plug 'christoomey/vim-system-copy' 46 - "Plug 'valloric/youcompleteme' 47 - Plug 'http://github.com/tpope/vim-surround' " Surrounding ysw) 48 - Plug 'ambv/black' 49 - 50 - " telescope requirements... 51 - Plug 'nvim-lua/popup.nvim' 52 - Plug 'nvim-lua/plenary.nvim' 53 - Plug 'nvim-telescope/telescope.nvim' 54 - Plug 'nvim-telescope/telescope-fzy-native.nvim' 55 - 56 - " prettier 57 - Plug 'sbdchd/neoformat' 58 - 59 - call plug#end() 60 - "install with :PlugInstall