···11-[MESSAGES CONTROL]
22-33-# Enable the message, report, category or checker with the given id(s). You can
44-# either give multiple identifier separated by comma (,) or put this option
55-# multiple time.
66-#enable=
77-88-# Disable the message, report, category or checker with the given id(s). You
99-# can either give multiple identifier separated by comma (,) or put this option
1010-# multiple time (only on the command line, not in the configuration file where
1111-# it should appear only once).#
1212-#
1313-# R - refactoring related checks => snake_case
1414-# C - convention related checks
1515-# W0511 disable TODO warning
1616-# W1201, W1202 disable log format warning. False positives (I think)
1717-# W0231 disable super-init-not-called - pylint doesn't understand six.with_metaclass(ABCMeta)
1818-# W0707 disable raise-missing-from which we cant use because py2 back compat
1919-2020-disable=R,duplicate-code,W0231,W0511,W1201,W1202,W0707,no-init
2121-2222-# See: https://github.com/getsentry/responses/issues/74
2323-[TYPECHECK]
2424-ignored-classes=responses
2525-signature-mutators=solid,composite_solid,lambda_solid,configured
2626-2727-[MASTER]
2828-ignore=snapshots
2929-load-plugins=dagster.utils.linter
3030-3131-# See: https://stackoverflow.com/questions/40163106/cannot-find-col-function-in-pyspark
3232-generated-members=pyspark.*
3333-ignored-modules=pyspark.sql.functions
-100
vim/vim-shortcuts.md
···11-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
22-33-44-# learning VIM
55-66-commands I learned and useful
77-88-zz -> centers your cursor to the middle
99-; -> if you search something with f or t, it will search for the next one
1010-gg -> start and G -> end
1111-w -> goes one word and W goes further, same for back with b and B
1212-b -> goes one word back
1313-e -> move to the end of your word
1414-% -> toggles between parentese forth and back if your inside one
1515-\* -> toggles through all your variable or word on in your text -> with # you toggle backwards
1616-o -> will insert a new line and put you into insert mode directly. O will due it above
1717-C -> puts you into insert and replace until end of line
1818-a -> Insert text after the cursor
1919-A -> will put you into i mode and jump to end of line
2020-I -> Insert mode at the beginning of the line
2121-i -> go into insert mode before the cursor
2222-x -> will delete one character where your cursor is
2323-~ -> will toggle the case
2424-ZZ : closes file same as :wq except it will not write anything to disk if nothing has changed. :x does the same
2525-2626-f -> find a character, with ; next. with F you find backward
2727-t -> find to a character. with ; next. With T you find backward
2828-2929-## More Navigation
3030-3131-^U: move up half a screen
3232-^D: move down half a screen
3333-L: puts cursor into lowest part of your code
3434-M: puts cursor in the middle part of your code
3535-H: puts cursort to the top (high?) part of your code
3636-Ctrl-i: jump to your previous navigation location
3737-ctrl-r : replace
3838-Ctrl-o: jump back to where you were
3939-J: join the current line with the next one (delete what's between)
4040-4141-## Do even more Navigation
4242-4343-ctrl+p: fuzzy finding for files
4444-:e open a new file
4545-ctrl+ˆ: toggle between two open files
4646-4747-### local marks
4848-4949-m-any-key: set a marker on that key. with '-any-key you can jump back to that marker. you can set multiple markers
5050- useful when you work in a file for long!
5151-5252-### global marks
5353-5454-same as local also set with m, but this time the any key will be capitalized
5555-5656-### buffer operation
5757-5858-c-^ switching between latest two files in buffer
5959-:b starting-file-name <tab> will serach your buffer and let you switch between files
6060-:bd closes/deletes current buffer (will not delete when you saved, it just unloads from buffer)
6161-6262-## window operations
6363-6464-ctrl+w: entering window mode
6565-then:
6666-v: vertical split
6767-s: horizontal split
6868-6969-o: closes all except current one that I-m in
7070-:resize 10 for 10 rows or :resize vertical 10 for columns
7171-:Ex opens the file-three
7272-7373-## visual mode
7474-7575-v -> visual mode (characters)
7676-V -> line mode
7777-ctrl + v -> column mode!
7878-ctrl+v and any command after hit ESC -> will do it on all selected lines of columns
7979-8080-## recording macros
8181-8282-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.
8383-8484-. -> redo any cmd you did before !!
8585-8686-## text-objects or nouns
8787-8888-p -> change paragraph
8989-w -> word
9090-s -> sentense
9191-9292-[ ( { < -> A [], (), or {} block
9393-t -> tag
9494-b -> block B-> block in
9595-R -> Insert mode -> replaces existing text
9696-r -> replace one character
9797-9898-# Learnings
9999-100100-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
···11-syntax on
22-33-" Ignore files
44-set wildignore+=*.pyc
55-set wildignore+=*_build/*
66-set wildignore+=**/coverage/*
77-set wildignore+=**/.git/*
88-99-" search related
1010-set hlsearch
1111-set ignorecase
1212-set incsearch
1313-set smartcase
1414-1515-"general
1616-colorscheme onedark
1717-let mapleader = " "
1818-inoremap jk <ESC>
1919-filetype plugin indent on
2020-2121-set ruler " show the cursor position all the time
2222-set showcmd " display incomplete commands
2323-set laststatus=2 " Always display the status line
2424-2525-set number
2626-set numberwidth=5
2727-set relativenumber
2828-2929-" Find files using Telescope command-line sugar.
3030-nnoremap <leader>ff <cmd>Telescope find_files<cr>
3131-nnoremap <leader>fg <cmd>Telescope live_grep<cr>
3232-nnoremap <leader>fb <cmd>Telescope buffers<cr>
3333-nnoremap <leader>fh <cmd>Telescope help_tags<cr>
3434-nnoremap <C-p> <cmd>Telescope find_files<cr>
3535-3636-"auto format on save with Black
3737-autocmd BufWritePre *.py execute ':Black'
3838-3939-"plugs to intall
4040-call plug#begin('~/.vim/bundle')
4141-"theme
4242-Plug 'joshdick/onedark.vim'
4343-Plug 'sheerun/vim-polyglot'
4444-4545-Plug 'christoomey/vim-system-copy'
4646-"Plug 'valloric/youcompleteme'
4747-Plug 'http://github.com/tpope/vim-surround' " Surrounding ysw)
4848-Plug 'ambv/black'
4949-5050-" telescope requirements...
5151-Plug 'nvim-lua/popup.nvim'
5252-Plug 'nvim-lua/plenary.nvim'
5353-Plug 'nvim-telescope/telescope.nvim'
5454-Plug 'nvim-telescope/telescope-fzy-native.nvim'
5555-5656-" prettier
5757-Plug 'sbdchd/neoformat'
5858-5959-call plug#end()
6060-"install with :PlugInstall