shimo164 / issues Goto Github PK
View Code? Open in Web Editor NEWMy issues to be solved.
My issues to be solved.
cp932 codec can't decode byte 0xdf in position 376: illegal multibyte sequence[0m
Maybe adjust to fit for other than utf-8?
$ unity-tweak-tool
/usr/lib/python3/dist-packages/UnityTweakTool/init.py:40: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
from gi.repository import Gtk
Error: schema com.canonical.indicator.bluetooth not installed
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
Ubuntu16.04
is not available at the same time?
instantRST is for riv.vim, preview rst file.
instant-rst.py doesn't install.
:Riv2HtmlAndBrowse
works, static html from rst is displayed.
$ instantRst -f test.rst -p 5676
test.rst
WebSocket transport not available. Install eventlet or gevent and gevent-websocket for improved performance.
* Serving Flask app "instant_rst.server" (lazy loading)
* Environment: production
WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead.
* Debug mode: off
Some error/exception occurred.
(<type 'exceptions.TypeError'>, TypeError('port must be an integer',), <traceback object at 0x7f6c3962d680>)
(gvim:21524): Gdk-CRITICAL **: IA__gdk_drawable_get_size: assertion 'GDK_IS_DRAWABLE (drawable)' failed
tmux's color is not woking. I do not remember when this changed but at the time install tmux, it worked.
Same issue with this.
tmux/tmux#1205
Solution for one pane, manually change color.
$ PS1='\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
https://askubuntu.com/questions/925881/tmux-colors-not-working
#include <bits/stdc++.h>
using namespace std;
// std::bad_alloc**
int main(){
int N, M;
int cnt;
int max_cnt = -101;
vector s(N+M);
int i, j;
cin >> N;
for ( int i = 0; i < N; i++ ){
cin >> s[i];
}
cin >> M;
for ( int i = 0; i < M; i++ ){
cin >> s[N+i];
}
for ( i = 0; i < N+M; i++ ){
cnt = 1;
for ( j = i+1; j < N+M; j++ ){
if (s[i]==s[j]){
if (j < N ){
cnt++;
} else {
cnt--;
}
}
}
max_cnt = max(max_cnt, cnt);
}
if (max_cnt = 1) max_cnt =0;
cout << max(max_cnt, 0) << endl;
return 0;
}
When:
input this...
(<CR>
Result:
(
<Cursor>)
Expect:
(
<Tab>
)
Env:
Ubuntu16.04
Vim 8.1
(in my Windows7, vim8.1, this do not happen)
--
same problem as:
cohama/lexima.vim#81
in comment above issue url, lemima is coflicting...need to check.
Ubuntu 16.04LTE,
Gvim:vim 8.2 GTK3 GUI
IBus 1.5.11
mozc 2.17.2116.102
症状
ターミナルとgvim, vimでは日本語入力がおかしくなる。1回タイプは入力化(ex. あ) 2回以上タイプは入力できない(ex. か)。ブラウザ上ではOK。libreofficeではNG。
再起動すると
起動直後のみ問題ないが、いつの間にか入力できなくなる。
思い当たること: gvimの中のvimをgtk2 から gtk3 に変えた。しかし、ターミナル他でもおかしい。
やってみる: ibusの再インストール?mozcの再インストール?
When mapping gvim C-V map "*gP, extra tabs are inserted.
Clipboard has like
def test(n):
n = 1
return n + 1
When C-V for paste, it gets extra tabs like
def test(n):
n = 1
return n + 1
Mouse right click and paste has no problem.
So, there may be a problem with mapping in gvim.
It works for Windows10,7.
But does not work for Ubuntu16.04.
With Prefix + [
, copy mode (scroll mode) enable. But cursor change is only one line at a time. Is scrolling up in page possible (like vim or others)?
(Windows 10, gvim, vim 8.1)
Editing *.py, put "." a few times, gvim crashes.
In .vimrc, disabling neocomplete works.
https://kameid.hatenadiary.org/entry/20181002/1538461121
$ heif-convert IMG.HEIF hoge.JPG
Unknown file type in hoge.JPG
vim's autochdir doesn't work. I cannot reproduce the situation but seemingly NERDTree open/close is the reason..
At the top of the vim window, it says
filename (~/dir/of/file)- GVIMS
but pwd
shows another directory.
Ubuntu 16.04LTS, vim8.1
When put after comment-out, new line comes with comment-out.
in c++
// <Cursor><CR>
goes like this.
//
// <Cursor>
This is ok. Sometimes I want to remove this second comment-out with one action.
(with one action)
//
<Cursor>
How to do?
How to regex match inside tags.
<b>
hoge
hoge
</b>
hoge
How to match hoge inside ?
[dein] /home/shimo/.cache/dein/repos/github.com/tpope/surround
[dein] Maybe wrong username or repository.
[dein] Cloning into '/home/shimo/.cache/dein/repos/github.com/tpope/surround'...Cloning into '/home/shimo/.cache/dein/repos/github.com/tpope/surround'...Cloning into '/home/shimo/.cache/dein/repos/github.com/tpope/surround'...Cloning into '/home/shimo/.cache/dein/repos/github.com/tpope/surround'...Cloning into '/home/shimo/.cache/dein/repos/github.com/tpope/surround'...Cloning into '/home/shimo/.cache/dein/repos/github.com/tpope/surround'...Cloning into '/home/shimo/.cache/dein/repos/github.com/tpope/surround'...Cloning into '/home/shimo/.cache/dein/repos/github.com/tpope/surround'...Cloning into '/home/shimo/.cache/dein/repos/github.com/tpope/surround'...Cloning into '/home/shimo/.cache/dein/repos/github.com/tpope/surround'...Cloning into '/home/shimo/.cache/dein/repos/github.com/tpope/surround'...Cloning into '/home/shimo/.cache/dein/repos/github.com/tpope/surround'...Cloning into '/home/shimo/.cache/dein/repos/github.com/tpope/surround'...Cloning into '/home/shimo/.cache/dein/repos/github.com/tpope/surround'...Cloning into '/home/shimo/.cache/dein/repos/github.com/tpope/surround'...
[dein] fatal: could not read Username for 'https://github.com': terminal prompts disabled
[dein] Error installing plugins:
[dein] surround
[dein] Please read the error message log with the :message command.
I want to change window size of gvim. But :vert resize 100
make no change.
create /home/my_startup_command.sh
In the startup application setting, add this .sh. But does not work when start up.
This .sh file works if I called from terminal.
$ ./my_startup_command.sh
Surely, permission is added.
VIM 8.2
Ubuntu 16.04
Mapping [b
as :bprevious
and ]b
as :bnext
were working fine. But from sometime, they are not working.
Reproduce
Open with not plugin, no vimrc.
$ gvim --clean
Set mapping
This doesn't work.
:map [b :bprevious<CR>
This works.
:map pb :bprevious<CR>
Why?
Optional setting to use
set hidden
set mousemodel=popup
I wanted to memory buffer-lists.
So wrote in .vimrc below.
set viminfo='100,<1000,s100,%100,n~/.viminfo
This does not work.
(In windows7, worked)
imap <C-V> "+gP
Not work. "+gP" is pasted.
map <C-V> "+gP
This works (as intended )for INSERT MODE C-V. But also set for NORMAL and VISUAL MODE. Rectangle select is disabled for this.
Originally posted by @shimo164 in #12 (comment)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.