• Packages
  • Themes
  • Documentation
  • Blog
  • Discuss
Sign in

atom-open-this

Open file under cursor like `gf`(Vim), `C-x C-f`(Emacs)
solobat
0.3.0 430
1
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

atom-open-this

Open file under cursor.
Like gf on Vim, C-x C-f on Emacs.

gif

How to use.

  1. Place cursor on filename in text like on ./styles-element in following code.
  2. Invoke open-this:here via command palette or keymap.
  3. file ./styles-element opened in current pane.
StylesElement = require './styles-element'
StorageFolder = require './storage-folder'

Keymap

No default keymap, copy and paste to your keymap.cson from following example.

  • Normal user
'atom-workspace atom-text-editor:not([mini])':
  'cmd-k f f': 'open-this:here'
  'cmd-k f d': 'open-this:split-down'
  'cmd-k f r': 'open-this:split-right'
  • vim-mode user.
'atom-text-editor.vim-mode.normal-mode':
  'g f':      'open-this:here'
  'ctrl-w f': 'open-this:split-down'
  'ctrl-w F': 'open-this:split-right'
  • vim-mode-plus user.
'atom-text-editor.vim-mode-plus.normal-mode':
  'g f':      'open-this:here'
  'ctrl-w f': 'open-this:split-down'
  'ctrl-w F': 'open-this:split-right'

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by