Skip to content

Commit 92b53ff

Browse files
Added command control + t to open NERDTree file explorer
1 parent cad9830 commit 92b53ff

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,9 @@ pkg install ctags
6060
* 'Rbeg' \<NUM-CHARS\> \<REPLACE-WITH\> : Replace beginning characters of a selection
6161
* 'tags' : Show/Hide Tags
6262
* Control + b : change buffer files
63-
* Control + i : Indent all lines
6463
* Control + e : Got to the next error
64+
* Control + i : Indent all lines
65+
* Control + t : Open NERDTree file explorer
6566
* Plugins
6667
* vim-scripts/vim-asm: Adds support for assembly language syntax highlighting and features in Vim.
6768
* dense-analysis/ale: ALE (Asynchronous Lint Engine) is a plugin for real-time syntax checking and linting.

vimrc

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,16 @@ set backspace=indent,eol,start
2626
""" MAPPING COMMANDS
2727
"""" Convert all tabs into 4 spaces
2828
noremap ctabs :%s/\t/ /g<CR>
29+
""" Show/Hide Tagbar window
30+
noremap tags :TagbarToggle<CR>
2931
""" Switch buffer files
3032
noremap <C-b> :bn<CR>
3133
""" Indent All Lines
3234
noremap <C-i> gg=G
33-
""" Show/Hide Tagbar window
34-
noremap tags :TagbarToggle<CR>
35+
""" NERDTree file explorer
36+
noremap <C-t> :NERDTree<CR>
3537
36-
""" FUNCTIONS
38+
""" FUNCTIONS AND RELATED COMMANDS
3739
function! ReplaceBeginningChars(numChars, newText) range
3840
let l:pattern = '^.\{' . a:numChars . '}\ze'
3941
execute a:firstline . ',' . a:lastline . 's/' . l:pattern . '/' . a:newText . '/'

0 commit comments

Comments
 (0)