3/28/2023 0 Comments Inkdrop font![]() You can download the Inkdrop-x.y.z-Mac.zip file from the Inkdrop website. Inkdrop follows the standard Mac zip installation process. Downloading the appĪfter you set up an account and log in, you should see a download button as shown here:ĭesktop application is ready for macOS, Windows, and Linux, so choose one for your environment: Inkdrop will prepare a new database for storing your note data.Īlso, your account can be used for publishing your plugins and so on. Creating your Inkdrop accountįirst, go to Inkdrop website and sign up. To get started with Inkdrop, we'll need to get it on your system. It improves my typing speed.Welcome to Inkdrop! Here's how to get started. It works fine with single quotes, square brackets, curly brackets, and normal brackets as well. Even if you removed characters, it erases the pair of quotes. If you type open bracket, it automatically closes the bracket. This plugin is, as its name suggests, it helps insert brackets in pair automatically. Then, speaking of the small thing, I prefer to use auto-pairs plugin. Then, the command adds parameters based on context in order to search files. It is a code searching tool that focuses on speed. What it actually does is to run an external program called ag. This Dgrep command is defined here: " Ag command on grep source call denite#custom#var('grep', 'command', ) call denite#custom#var('grep', 'default_opts', ) call denite#custom#var('grep', 'recursive_opts', ) call denite#custom#var('grep', 'pattern_opt', ) call denite#custom#var('grep', 'separator', ) call denite#custom#var('grep', 'final_opts', ) " grep command! -nargs=? Dgrep call s:Dgrep() function s:Dgrep(.) if a:0 > 0 execute(':Denite -buffer-name=grep-buffer-denite grep -path='.a:1) else let l:path = expand('%:p:h') if has_key(defx#get_candidate(), 'action_path') let l:path = fnamemodify(defx#get_candidate(), ':p:h') endif execute(':Denite -buffer-name=grep-buffer-denite -no-empty '.join(s:denite_option_array, ' ').' grep -path='.l:path) endif endfunction Well, it’d be hard to tell how I configured denite.nvim in detail though… Here is the keymaps for grep and search: nnoremap r :Dgrep nnoremap f :Denite file/rec So, if you've got many files in your project, you can always quickly find files and locations. On top of that, you can filter them with keyword by typing, like import, then you can see only items with keywords. I open a filer every time I need because I don’t like keep showing a file tree on left side of the window. If you use both TypeScript and FlowJS, you have to set "tsserver.enableJavascript": false, so that you can disable TypeScript when editing js file. If you use flowjs, you have to configure languageserver like this. Let’s say you have a TypeScript something like this: type Note = For example, it provides auto-completion, auto import, type definitions, things like IDEs usually support, which is neat. It is the plugin that provides intellisense on your vim environment. coc.nvim - IntellisenseĬoc.nvim is Conquer of Completion. In this file, I wrote plugins for file types that I often use. So, you can keep vim launching quick and running fast. By doing like that, vim can avoid loading unnecessary plugins. For example, vim-json plugin is loaded only when you opened a json file. This file has plugins that are loaded on demand based on file type. Here is another toml file named dein_lazy.toml: ] repo = 'elzr/vim-json' on_ft = ] repo = 'yuezk/vim-js' on_ft = ] repo = 'maxmellon/vim-jsx-pretty' on_ft = You can define plugins that you want to use in dein.toml file: ] repo = 'Shougo/dein.vim' ] repo = 'Shougo/defx.nvim' depends = hook_add = """ source ~/.config/nvim/plugins/defx.rc.vim """ ] repo = 'Shougo/denite.nvim' hook_add = """ source ~/.config/nvim/plugins/denite.rc.vim """ ] repo = 'jiangmiao/auto-pairs' ] repo = "neoclide/coc.nvim" merge = 0 rev = "release" hook_add = """ source ~/.config/nvim/plugins/coc.rc.vim """ To install/update plugins, I’m using dein.nvim. jiangmiao/auto-pairs for inserting brackets, parens, quotes in pair.coc.nvim for autocompletion, imports and type definitions.My dotfiles are published on GitHub here. I’ve written about my basic workflow on terminal here. I don’t use any IDE like VSCode but I prefer doing things on terminal. In this article, I’d like to share my JavaScript coding workflow using vim.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |