Re: mapping error.

2017-11-29 Thread Florian Rehnisch
On Thu, Nov 30, 2017 at 08:32:17AM +0100, Florian Rehnisch wrote: > On Wed, Nov 29, 2017 at 11:06:19PM -0800, sinbad wrote: > > I'm trying to map x in normal mode to do send a command to a pane in > > tmux. > > > > sudo tmux send-keys -t "1" C-z "test" > > > > I tried the following. wrote the

Re: mapping error.

2017-11-29 Thread Florian Rehnisch
On Wed, Nov 29, 2017 at 11:06:19PM -0800, sinbad wrote: > I'm trying to map x in normal mode to do send a command to a pane in > tmux. > > sudo tmux send-keys -t "1" C-z "test" > > I tried the following. wrote the above command in a test.sh file and made a > mapping as below. > > :nnoremap x

mapping error.

2017-11-29 Thread sinbad
Hi, I'm trying to map x in normal mode to do send a command to a pane in tmux. sudo tmux send-keys -t "1" C-z "test" I tried the following. wrote the above command in a test.sh file and made a mapping as below. :nnoremap x 'silent :!./test.sh' I'm getting the following error. E20: Mark

Deleting non-empty directories in netrw in Vim 8+

2017-11-29 Thread Trevor D. Miller
When using `D` on top of a non-empty directory in netrw I get an error: `**error** (netrw) unable to delete directory {path}`. `D` works as expected on an empty directory. I've tried setting `let g:netrw_localrmdir='rm -rf'` (https://gist.github.com/KevinSjoberg/5068370) with the same result.

netrw bug with :edit

2017-11-29 Thread Trevor D. Miller
I use `:edit **/*` to fuzzy find files. I like to use the default working directory settings (based on the project root, the directory I started vim in). This works great until I open netrw, then any subsequent searches no longer respect my wildignore. This seems to be a bug in netrw. Here is

netrw bug found with :edit wildignore glob completion

2017-11-29 Thread Trevor D. Miller
I use `:edit **/*` to fuzzy find files. I like to use the default working directory settings (based on the project root, the directory I started vim in). This works great until I open netrw, then any subsequent searches no longer respect my wildignore. This seems to be a bug in netrw. Here is