Code Monkey home page Code Monkey logo

init.lua's Introduction

screenshot

Shortcuts

jj         => esc
\d         => delete buffer
<leader>ev => edit init.lua
<leader>w  => save
<leader>x  => save and quit
<leader>q  => quit
<leader>Q  => quit all

System Copy

cpiw => copy word into system clipboard
cpi' => copy inside single quotes to system clipboard
cvi' => paste inside single quotes from system clipboard
cP   => copy the current line directly.
cV   => paste the content of system clipboard to the next line

Opening GitHub

<leader>ho => open the project's git repository page in GitHub
<leader>hf => open the current file page in GitHub

GitSigns

<leader>hs => stage hunk
<leader>hr => reset hunk
<leader>hS => stage buffer
<leader>hu => undo stage hunk
<leader>hR => reset buffer
<leader>hp => preview hunk
<leader>hb => blame line
<leader>hl => toggle current line blame
<leader>hd => diff this
<leader>ht => toggle deleted
<leader>hq => open changes in quickfix

Telescope

<C-p> => find files 
<leader>tb => buffers
<leader>tm => marks
<leader>tg => grep string
<leader>tl => live grep
<leader>tf => fuzzy find current buffer
<leader>tc => git commits
<leader>ti => git commits current buffer
<leader>ts => git status
<leader>ta => command history
<leader>tj => jump list

<leader>tt => treesitter
<leader>th => Harpoon

LSP

<leader>gd => go to definition
<leader>gv => open definition in vertical split
<leader>gx => open definition in horizontal split
<leader>gt => go to type definition
<leader>gp => peek definition
<leader>gi => list implementations
<leader>gr => list references
<leader>gf => open saga finder 
<leader>ga => open code actions
<leader>gr => rename
<leader>go => toggle outline
<leader>gk => hover doc
<A-t>      => toggle float terminal

Neotest Jest

<leader>t1 => run the current file
<leader>t2 => run the nearest test
<leader>t3 => displays test suite structure from project root
<leader>t4 => display tests output
<leader>t5 => stop the nearest test

Text Objects

ih => hunk
af => outer function
if => inner function
at => outer parameter
it => inner parameter

File Navigation

]h => next hunk
[h => previous hunk

]d => next LSP diagnostic
[d => previous LSP diagnostic

init.lua's People

Contributors

jonnygambadh avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.