vimium-c - Vim like Using firefox

์„ค์น˜ ํŒŒ์ด์–ดํญ์Šค์˜ ํ™•์žฅ๊ธฐ๋Šฅ ๊ฒ€์ƒ‰ : vimium-c ํ”Œ๋Ÿฌ๊ทธ์ธ ์„ค์น˜ ์‚ฌ์šฉ๋ฒ• ? : ๋„์›€๋ง ๋ณด์ด๊ธฐ/์ˆจ๊ธฐ๊ธฐ Navigating the current Page: ? show the help dialog for a list of all available keys h scroll left j scroll down k scroll up l scroll right gg scroll to top of the page G scroll to bottom of the page d scroll down half a page u scroll up half a page f open a link in the current tab F open a link in a new tab r reload gs view source i enter insert mode -- all commands will be ignored until you hit Esc to exit yy copy the current url to the clipboard yf copy a link url to the clipboard gf cycle forward to the next frame gF focus the main/top frame Navigating to new pages: o Open URL, bookmark, or history entry, on an English letter "o" O Open URL, bookmark, history entry in a new tab, on an English letter "O" b Open bookmark B Open bookmark in a new tab Nvigating your history: H go back in history L go forward in history Manipulating tabs: J, gT go one tab left K, gt go one tab right g0 go to the first tab. Use `ng0` to go to n-th tab, on `g` and a number character of `0` g$ go to the last tab ^ visit the previously-visited tab t create tab yt duplicate current tab x close current tab X restore closed tab (i.e. unwind the `x` command) T search through your open tabs W move current tab to new window <a-p> pin/unpin current tab Using marks: ma, mA set local mark "a" (global mark "A") `a, `A jump to local mark "a" (global mark "A") `` jump back to the position before the previous jump -- that is, before the previous gg, G, n, N, / or `a Additional advanced browsing commands: ]], [[ Follow the link labeled "next or ">" ("previous" or "<">) - helpful for browsing paginated sites <a-f> open multiple links in a new tab gi focus the first (or n-th) text input box on the page. Use <tab> to cycle through options. gu go up one level in the URL hierarchy gU go up to root of the URL hierarchy ge edit the current URL gE edit the current URL and open in a new tab zH scroll all the way left zL scroll all the way right v enter visual mode; use p/P to paste-and-go, use y to yank V enter visual line mode REFERENCE vimium - https://github.com/gdh1995/vimium

2023-08-26 ยท 428 words

Comment.nvim - nvim ์ฃผ์„์ฒ˜๋ฆฌ ํ”„๋กœ๊ทธ๋žจ

Intro ํ”„๋กœ๊ทธ๋ž˜๋ฐ ํ™˜๊ฒฝ์—์„œ ๊ฐ ์–ธ์–ด๋ณ„ ์ฃผ์„์ฒ˜๋ฆฌ๋ฅผ ์‰ฝ๊ฒŒ ์ถ”๊ฐ€ ์ œ๊ฑฐ ํ•  ์ˆ˜ ์žˆ๋Š” ํ”Œ๋Ÿฌ๊ทธ์ธ ๊ด€๋ จ ํ”Œ๋Ÿฌ๊ทธ์ธ ์ค‘์— ๊ฐ€์žฅ ์ธ๊ธฐ๊ฐ€ ๋งŽ๊ณ  ์‚ฌ์šฉ์ด ํŽธ๋ฆฌํ•˜๋‹ค. Features Supports treesitter. Supports commentstring. Read :h comment.commentstring Supports line (//) and block (/* */) comments Dot (.) repeat support for gcc, gbc and friends Count support for [count]gcc and [count]gbc Left-right (gcw gc$) and Up-Down (gc2j gc4k) motions Use with text-objects (gci{ gbat) Supports pre and post hooks Ignore certain lines, powered by Lua regex Install With packer.nvim use { 'numToStr/Comment.nvim', config = function() require('Comment').setup() end } Manual Install $ cd ~/.local/share/nvim/site $ git clone https://github.com/numToStr/Comment.nvim $ cp Comment.nvim/plugin/Comment.lua plugin/ $ cp -r Comment.nvim/lua/Comment lua/ $ vi ~/.config/nvim/init.lua ... lua require('Comment').setup() :so % REFERNCE Comment.nvim Github: https://github.com/numToStr/Comment.nvim

2023-08-10 ยท 119 words

lua-dev.nvim - nvim์—์„œ lua ๊ฐœ๋ฐœ ํ™˜๊ฒฝ ๊ตฌ์„ฑ ํ”Œ๋Ÿฌ๊ทธ์ธ

Intro lua๋กœ ํ”„๋กœ๊ทธ๋ž˜๋ฐ์„ ํ•  ๋•Œ ํ•จ์ˆ˜๋‚˜ ์ž๋™์™„์„ฑ์„ ๋„์™€์ฃผ๋Š” ํ”Œ๋Ÿฌ๊ทธ์ธ์ด๋‹ค. nvim์˜ lua ๋‚ด์žฅํ•จ์ˆ˜ ๋ฐ api๋„ ์ง€์›ํ•œ๋‹ค. ๋‹ค๋ฅธ lsp ์„œ๋ฒ„์˜ ์„ค์น˜์™€ ์„ค์ •๋ณด๋‹ค ์–ด๋ ค์›Œ์„œ ๋งŽ์ด ๊ณ ์ƒํ–ˆ๋‹ค. ๊ฐ€์žฅ ์ค‘์š”ํ•œ ๊ฒƒ์€ lua-language-server๋ฅผ ์ œ๋Œ€๋กœ ์„ค์น˜ํ•˜๋Š” ๊ฒƒ์ด๋‹ค. ์„œ๋ฒ„๋ฅผ ์ปดํŒŒ์ผ ํ•˜๋Š” ๊ฒƒ๋ณด๋‹ค๋Š” ๋ฐ”์ด๋„ˆ๋ฆฌ๋ฅผ ๋‹ค์šด ๋ฐ›์•„ ์“ฐ๋Š” ๊ฒƒ์„ ๊ถŒ์žฅํ•œ๋‹ค. Requirements nvim-cmp :์ž๋™์™„์„ฑ ํ”Œ๋Ÿฌ๊ทธ์ธ nvim-lsp :Language Server Protocol ํ”Œ๋Ÿฌ๊ทธ์ธ cmp-nvim-lsp : lsp ์ž๋™์™„์„ฑ ์ง€์› ํ”Œ๋Ÿฌ๊ทธ์ธ sumneko lua-language-server : Lua lsp server ํ”„๋กœ๊ทธ๋žจ (lua 5.1 ~ 5.4, luaJit ๋ชจ๋‘ ์ง€์›) lua-language-server Install ์•„๋ž˜์—์„œ ์ปดํŒŒ์ผ๋œ ๋ฐ”์ด๋„ˆ๋ฆฌ ๋‹ค์šด๋กœ๋“œ (๋ฆฌ๋ˆ…์Šค 64bit๊ธฐ์ค€) https://github.com/sumneko/lua-language-server/releases ์ ๋‹นํ•œ ์œ„์น˜์— ์„ค์น˜ $ mkdir ~/data/lua-language-server && cd lua-language-server $ tar xvfz ~/Download/lua-language-server-3.5.5.tar.gz . $ cat <<EOF > ~/bin/lua-language-server # ์‹คํ–‰์Šคํฌ๋ฆฝํŠธ ์ž‘์„ฑ #!/usr/bin/bash exec "~/data/lua-language-server/bin/lua-language-server" "$@" EOF $ chmod u+x ~/bin/lua-language-server # ~/bin ์ด PATH์— ์„ค์ •๋˜์–ด ์žˆ์–ด์•ผ $ lua-language-server --version # ์—๋Ÿฌ ์—†์ด ๋ฒ„์ „์ด ์ถœ๋ ฅ๋˜๋ฉด ์„ฑ๊ณต lua-dev Install ๋จผ์ € nvim-cmp nvim-lsp, cmp-nvim-lsp๊ฐ€ ์„ค์น˜ ๋ฐ ์„ค์ •๋˜์—ˆ๋‹ค๊ณ  ๊ฐ€์ •ํ•œ๋‹ค. ...

2022-09-12 ยท (updated 2022-10-31) ยท 245 words

nvim-tree - File Explorer

Cut, copy, paste, rename, delete, create ์‚ฌ์šฉ๋ฒ• ์ถ”๊ฐ€ Git Integration Diagnostic Integration (LSP, COC) Live Filtering ๊ฐœ์ธํ™” ์„ค์ • ์†Œ๊ฐœ ๋น ๋ฅด๊ณ  ์‚ฌ์šฉ์ด ํŽธ๋ฆฌํ•˜๋ฉฐ nvim์—์„œ NerdTree๋ฅผ ๋Œ€์ฒดํ•  ๋งŒํ•œ ํ”Œ๋Ÿฌ๊ทธ์ธ์ด๋‹ค. ๊ธฐ๋Šฅ์ด ์•„์ฃผ ๋งŽ๋‹ค. ์กฐ๊ธˆ์”ฉ ๊ณต๋ถ€ํ•ด์„œ ํ™œ์šฉํ•˜์ž. ์„ค์น˜ Add plugin set to ~/.config/nvim/lua/plugins.lua use 'kyazdani42/nvim-web-devicons' -- web-devicons (optional) use 'kyazdani42/nvim-tree.lua' -- file explorer Install Package in command line mode :w :luafile % :PackerInstall Add nvim-tree setup to ~/.config/nvim/lua/settings.lua -- nvim-tree ์„ค์ • require'nvim-tree'.setup() -- ์„ค์ • ๋กœ๋“œ ๋ฐ ์ดˆ๊ธฐํ™” nmap('<F2>',':NvimTreeToggle<CR>') -- ํ† ๊ธ€ ํ‚ค๋งต ์„ค์ • Source settings.lua in command line mode :w :luafile % ๊ธฐ๋ณธ ํ‚ค๋งคํ•‘ ์ž์ฃผ ์“ฐ๋Š” ๊ฒƒ๋งŒ ์š”์•ฝํ•˜๊ณ  ์ž์„ธํ•œ ๊ฒƒ์€ ์•„๋ž˜ ์ฃผ์†Œ ์ฐธ์กฐ. ...

2022-09-10 ยท 189 words

bash-it

๋‹ค์Œ ๋งํฌ ์ฐธ์กฐ https://www.linuxfordevices.com/tutorials/linux/fancify-bash-terminal-with-bash-it

2022-08-26 ยท 4 words